import os, time
listOfFood = []
def prettyPrint():
os.system("clear")
print("listofFood")
print()
counter = 1
for order in listOfFood:
print(f"[counter]: {order}")
counter + 1
time.sleep(1)
while True:
print("Yummy Food Restaurant")
menu = input("1. Order food\n2: Delete order\n3. Leave a review\n4. Delivery\n> ")
if menu == "1":
order = input("order > ")
listOfFood.append(order)
elif menu =="2":
order = input ("delete order> ")
if order in listOfFood:
listOfFood.remove(order)
elif menu == "3":
prettyPrint()
time.sleep(1)
os.system("clear")