Share your repls and programming experiences

← Back to all posts
Food chooser
MarblesAndMore (61)

Food chooser

Hi, I am back again, but with me today I bring the all-new food chooser 2000. All you have to do is pick what meal you want and let the machine decide. Now you never have to pick your food again

Thank you and enjoy!

thenullified (164)

add a loop to rerun the program

thenullified (164)

ok now you funtion is too fast.once i pick itll show the option for 0.01 sec and rerun instantly
2 ways to solve:
from time import sleep()
[top part of program]

second option

s1 = input('run again?')
if s1 == 'yes':
else: break