Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> 
======================== RESTART: E:/Python/ps7 q4.py ========================
enter items milk
enter item oranges
[' oranges']
enter item
======================== RESTART: E:/Python/ps7 q4.py ========================
enter items milk
enter item oranges
enter item bananas
enter item
[' oranges', ' bananas', '']
>>> 
======================== RESTART: E:/Python/ps7 q4.py ========================
enter itemsg
enter item milk
enter item water
enter item 
['milk', 'water']
>>> 
======================== RESTART: E:/Python/ps7 q4.py ========================
enter items
======================== RESTART: E:/Python/ps7 q4.py ========================
enter items milk
enter item water
enter item 
['milk', 'water']
>>> 
