Advertisement
Andres_v

Untitled

Mar 3rd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. shopping = []
  2. entrada=int(input("how many items of shopping are needed? "))
  3. for item_number in range(entrada):
  4. item=input("what is the item " + str(item_number) + "? ")
  5. shopping.append(item)
  6. print(shopping)
  7. print(str("There is ") + str(entrada) + str(" items in your shopping list, thanks for your information "))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement