prompt = "\nPlease enter a series of pizza toppings: " while True: pizza = input(prompt) if pizza == 'quit': break else: print(f"{pizza.title()} will be added to your pizza!")
Standard input is empty
Please enter a series of pizza toppings:
Traceback (most recent call last): File "./prog.py", line 4, in <module> EOFError: EOF when reading a line