Reputation: 1
My project is to create a while loop asking the user to enter numbers. Then, they are to add them to the list:
nums = 0
limit = 0
my_list = [ ]
while limit < 11:
nums= int(input("Enter a number: "))
nums.append(nums)
if nums == 0:
break
Upvotes: 0
Views: 290