Page 54 - PYTHON-12
P. 54

print('=================================================')

                       print("Customer Number",cno)
                       print("Customer Name",cname)

                       print("Customer Address",address)
                       print('=================================================')

                       print("Room Number",roomno)
                       print("Mobile Number",mobileno)

                       print('=================================================')
                       print("Check-In",check_in)

                       print("Check-Out",check_out)
                       print("Room Category",room_type)

                       print('=================================================')
                       print("Number of Days :",days)

                       Total=days*4500
                       print("Total Amount",Total)

                       print("Advance Payment",adv_pay)

                       Tax=Total*0.10
                       print("Tax: ",Tax)
                       net=Total-adv_pay+tax

                       print("Net Amount",net )

               ch='y'
               while ch=='y' or ch=='Y':

                   print("==========================================")
                   print("\t\tMAIN MENU\n")

                   print("1.To ADD New Record")
                   print("2.To Search a Record")

                   print("3.To Update the Record")
                   print("4.To Delete the Record")

                   print("5.To View all the Record")
                   print("6.To Generate the Report\n")

                   print("==========================================")
                   ch=int(input("Enter the choice: "))

                   tax=0
                   if ch==1:
   49   50   51   52   53   54   55   56   57   58   59