fork download
  1. prompt = "\nPlease enter a series of pizza toppings: "
  2.  
  3. while True:
  4. pizza = input(prompt)
  5.  
  6. if pizza == 'quit':
  7. break
  8. else:
  9. print(f"{pizza.title()} will be added to your pizza!")
Runtime error #stdin #stdout #stderr 0.14s 23544KB
stdin
Standard input is empty
stdout
Please enter a series of pizza toppings: 
stderr
Traceback (most recent call last):
  File "./prog.py", line 4, in <module>
EOFError: EOF when reading a line