I'm a Python noob trying to make a program where the user will enter as many integers as they want and have the program calculate the total sum. They have to type the word "done" to execute the sum calculation. When I ran my program, I tped in 'done' and got an error saying "invalid literal for int() with base 10: 'done'" Any feedback/help will be great.
user_inputs = []
while True:
user_inputs = int(user_inputs)
if user_inputs == str("done"):
print("The sum of your numbers is " + user_inputs)