Пример #1
0
        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)

    elif(choice==5):
        print(pattern)
        try:
            phNo=int(input('Enter the phone number of the customer:'))
            Res.findCustomers(phNo)
        except:
            print('Invalid phone number. Please enter valid phone number the next time')
        
    else:
        print(choice)