Advertisement
zhongnaomi

make a shopping list with python 1

Jan 7th, 2019
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. shopping =[]
  2.  
  3. for item_number in range(8):
  4.     item = input("What is you going to buy today? ")
  5.     shopping.append(item)
  6.  
  7. print(shopping)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement