pizza = raw_input("Enter a pizza type:")
if menu != ValueError:
print('That is not a pizza name (try with capitals or check spelling).')
This is part of the coding that is the problem. I'm wanting them to choose a pizza from my menu, but if they get the spelling wrong than I want it to say 'That is not a pizza name (try with capitals or check spelling).'. I want it to keep looping this until they get the spelling of the pizza correct. How do I do this?

New Topic/Question
Reply


MultiQuote


|