Ejemplo n.º 1
0
print(pattern)
print('Welcome to the restaurant :)')
restaurant=Res()
run=True
while(run):
    print(pattern)
    print('What would you like to do ?')
    print(pattern)
    print(options)
    print(pattern)
    choice=int(input())
    if(choice==9):
        run=False
        continue
    elif(choice==1):
        restaurant.bookSeat()
    elif(choice==10):
        restaurant.checkOut()
    elif(choice==8):
        Res.displayAllItems()
    elif(choice==3):
        Res.getFamousItems()
    elif(choice==2):
        Res.placeOrders()
    elif(choice==4):
        Res.printBill()
    elif(choice==7):
        Res.addCustomer()
    elif(choice==6):
        Res.findPremiumCustomer(restaurant.premiumThreshold)