I'm trying to make a short program where the user enters as many integers as they want. When they type 'done,' the program will calculate all of the numbers the user entered. So far when I run this program, all I get is "done." Am I close to being finished? Can someone help? Is the While loop good for this procedure?
user_inputs = []
total = 0
while 1:
user_inputs = input("Enter integers. Type done to calculate the sum.")
if user_inputs == "done":
print("The sum of your numbers is " + user_inputs)
else:
user_inputs = int(user_inputs)