print ("Welcome To Femboii's Restaraunt")
Name = input ("What's Your Name Sir?\n").capitalize()
EvilGuys = ["Jack", "Ben", "Maria"]
if Name in EvilGuys:
Evil_Status = input ("Are You Evil " + Name + "?\n").capitalize()
if Evil_Status == "Yes":
Good_Deeds = input ("How Many Good Deeds Have You Done Today " + Name + "?\n")
Bad_Deeds = input ("How Many Bad Deeds Have You Done Today " + Name + "?\n")
Good_Deeds = int(Good_Deeds)
Bad_Deeds = int(Bad_Deeds)
elif Evil_Status == "No":
print ("Oh, So You Aren't Evil, Come In You're Welcome!")
else:
print ("Sorry I Didn't Understand You, So Ill Just Take It As A No")
if Good_Deeds >= Bad_Deeds:
print ("Oh, So You Aren't Evil, Come In You're Welcome!")
if Good_Deeds < Bad_Deeds:
print ("GET OUTTTT RIGHT NOWWWWWWWWWW!!!!!!!!!!")
exit ()
print ("Welcome " + Name)
FoodMenu = ("Pizza, Crepe, Burger And Shawrma.")
DrinksMenu = ("Black Coffee, Latte, Mocha, Espresso, Crapuccino And Sparkling Water")
FoodMenuList = ["Pizza", "Crepe", "Burger", "Shawrma"]
DrinksMenuList = ["Black Coffee", "Latte", "Mocha", "Espresso", "Crapuccino", "Sparkling Water"]
Order = input ("Here's Our Food Menu\n" + FoodMenu + "\nAnd Here's Our Drinks Menu\n" + DrinksMenu + "\nChoose What Serves You The Best.\n").capitalize
while Order not in FoodMenuList or Order not in DrinksMenuList:
if Order in FoodMenuList or Order in DrinksMenuList:
break
if Order not in FoodMenuList or Order not in DrinksMenuList:
input ("Sorry, I Didn't Understand What You Said, Can You Repeat?\n").capitalize()
print (Order)
I Tried To Make It So If He Asked For Something That is not In The menu tells him that the code the ai whatever
could not understand him and if he keeps doing this it will keep saying the
Sorry, I Didn't Understand What You Said, Can You Repeat
and the while loop does not stop
Order not in FoodMenuList and Order not in DrinksMenuList(aandinstead ofor)Order = input("Sorry, ...(i.e. just calling input does not update Order).