Why can i not get my drink selection to only run once (Meaning only one drink can be ordered)
then the drinks menu is presented again if the same drink is selected
im getting mixed results,it works once but if you select it again the second time it lets you order it again
wayne brandon wrote:Why can i not get my drink selection to only run once (Meaning only one drink can be ordered)
Because the computer knows you have to drive home?
Joking apart, you have a dirty great wodge of procedural‑looking code and it isn't easy to find how you intend to run a loop so as to order a second round. Please explain how you intend to run your loop to make the menu appear again. Tell us he line numbers, too.
By the way: just before you push the code button, select Python from the dropdown list to its left.