I'm trying to make a simple program that accepts input of 'sales amounts' individually for each day of the week then totals the values and displays them.
I have a loop that accepts 7 inputs, but I would like the user to be able to enter
sales = 
for i in range(0, 7):
if sales/input/raw_input == "q":
store the input in a variable so you can reuse it without requiring the user to re-enter the value
user_input = input("> ") if user_input == "q": break sales.append(user_input)