#Title print("Time to TRAVEL !!$$!!") #Myself print(''' My name is Shayaan Tanveer, I am from NMS-DPS, Bahrain grade 8 D . I love coding, and I wanted to learn CODING, so I came up with this innovative PROJECT named - "Time to TRAVEL !!$$!!"''') #What happens in this PROJECT ? print(""" In this project, the user (ONLY YOU) will be travelling from 1 Destination to the other through 2 available transports, namely Aeroplane or Train """) print(""" -X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X--X-X- """) Gender = input("Male / Female ? - ") if Gender == "Male" or Gender == "male" : Temp = "Sir" elif Gender == "Female" or "female" : Temp = "Madam" Name = input("""\nPlease enter your name - %s\t"""%Temp) print("\nNice Name %s !!"%Temp) print("""\nHow would you like to travel ?, %s %s 1. State or country to country 2. State to state ( India )"""%(Temp,Name)) Travel = input("Press 1 or 2 - ") if Travel == "1" : if Travel == "1" : Destination1 = "Which country do you live in ?" else : Destination1 = "Which state of India are you from ?" Destination = input("\nYes %s, %s "%(Temp,Destination1)) Destination2 = input("%s %s, Where would you like to go ? "%(Temp,Name)) print("Woow ! Beautiful Destination, %s !!"%Name) print("""\nYour transportation is through Air, ETIHAD Airways ! Please book your Flight from %s to %s, "The taxi will come right away once you book in https//international.flight/book.in//.com/, ๐๐๐ " """%(Destination,Destination2)) if Gender == "Male": x = "his" else : x = "her" print("\n\n\nAfter few days ..........###") print("""\n%s says - "BYE, I am going on a Short Vacation !!!" Taxi : Peep !,Peep! %s : Oh !, the Taxi has arrived . Coming !!!... Taxi : Ok %s . %s : (Door Opens), Yes, Good morning !Lets go . ......(Door Closes)...... Taxi : (Engine starts)...."Few mins/hrs later #" Here you go %s, %s : Ok ! Thankyou, Whats the total amount ? Taxi : No amount %s, The Total was already included with the Booking . We are a part of that Website ! %s : Oh ! Thats Great . Bye then !"""%(Name,Name,Temp,Name,Temp,Name,Temp,Name)) print("\nEnters the Airport #") Boarding_pass = input("Do you have the Boarding pass %s ? "%Temp) if Boarding_pass == "Yes" or Boarding_pass == "yes" or Boarding_pass == "YES" or Boarding_pass == "YEs": print("""\nPlease wait, (After some Time #) Thank You %s, Please load your Luggage here ! %s - Ok, here you Go !!(Loading....) Please proceed for Security Check-in !"""%(Temp,Name)) print("\nGoing for Security Check-in .....") print("""\nPolice1 : Please put your Baggages here -> %s : (Giving) Police1 : Thankyou, Please wait, we are scanning them all ! %s : Sure ! Police1 : Done, you can take yours, Please proceed fast all of you, FAST ..FAST! %s : Ok, Thankyou Mr. um..Police! Police1 : Haha!, My name is Vikrant, Thankyou, Thankyou for cooperating %s ! %s : Haha Ok, Bye !! """%(Name,Name,Name,Temp,Name)) Security_Checkin = input("Police2 : Yes %s, Have you done Security Check-in ? "%Temp) if Security_Checkin == "Yes" or Security_Checkin == "yes" or Security_Checkin == "YES" or Security_Checkin == "YEs": print("""\nPolice2 : Yes %s, Please proceed for your Gate, your Gate number is 10 ! %s : Ok ! Thankyou """%(Temp,Name)) print("""\n[After sometime #(Going...) # ] (Reached Gate !)""") print("""\n%s : Fhew!!, Finally I reached my gate, let me rest here now till boarding starts ! """%Name) print("""\nAir-hostress : Passengers travelling to %s in flight Gs102436, Gate number 10, Please proceed, Boarding has started ! %s : Oh, Man, i couldn't even take 5 minutes rest ! Anyways, Time to Fly !!!! """%(Destination2,Name)) print("""\nAirhostress : Boarding pass %s, Thankyou, You may proceed %s : (Going ....) (Sat in Seat)"""%(Temp,Name)) print("""\nAfter 30 minutes of Take-off Pilot : May I have your attention, please . The fasten seat belt sign is now off . However, we would recommend that for your own safety you do keep your seat belt fastened during the entire flight""") food = input("Veg or Non-Veg %s ? "%Temp) item = input("Would you like to know the menu ? ") if food == "Veg" or food == "VEG" or food == "veg" : if item == "Yes" or item == "YES" or item == "yes" or item == "YEs" or item == " Yes" : print("""\nAirhostress : Ok %s, the items are - 1) " Butter Paneer, Aloo Gobi, Jeera Rice, Gulab Jamun and Salad " or 2)" Chinese Fried Rice, Cauliflower Manchurian, Chilli Vinegar, Salad, Chocolate Brownie " """%Temp) choose = input("\nWhat would you like %s, 1 or 2 ? "%Temp) if choose == "1" : print("""\nHere your take %s ! %s - Thankyou !"""%(Temp,Name)) elif choose == "2" : print("""\nHere your take %s ! %s - Thankyou !"""%(Temp,Name)) else : print("Please choose from above only !") else : print("\nAirhostress : Ok %s, Enjoy !"%Temp) elif food == "non-Veg" or food == "non-VEG" or food == "non-veg" or food == "Non-Veg" or food == "NON-VEG" or food == "non-veg" : if item == "Yes" or item == "YES" or item == "yes" or item == " Yes" or item == "YEs" : print("""\nAirhostress : Ok %s, the items are - 1)" Chinese Fried Rice, Chilli Chicken, Salad, Chilli Vinegar and Chocolate Brownie " or 2)" Chefโs Special Fish Curry, Dal, Rice, Salad & Pickel and Gulab Jamun " or 3)" Chefโs Special Chicken Biriyani Garnished with egg and fried onions, Raita, Pickle and Gulab Jamun " """%Temp) choose = input("\nWhat would you like %s, 1 or 2 or 3 ? "%Temp) if choose == "1" or choose == "2" or choose == "3" : print("""Here your take %s ! %s - Thankyou !"""%(Temp,Name)) else : print("Please choose from above only !") else : print("\nAirhostress : Ok, Here you go %s, Enjoy !"%Temp) elif food == "I am not hungry" or food == "I am not HUNGRY" or food == "I dont want" or food == "I dont want to eat" : print("\nOk %s, Enjoy the Flight !"%Temp) elif choose == "Fasting" or choose == "fasting" or choose == "FASTING" : print("Ok %s, Sorry !"%Temp) else : print("\nAirhostress : Sorry %s, we only have Veg/Non-Veg"%Temp) drinks = input("""\nAny drinks %s ? 1)Sprite 2)Coke 3)Fanta 4)Mountain Dew 5)Apple juice 6)Mango Jouice 7)Orange juice 8)Tea 9)Milk Tea 10)Coffee Please choose 1 to 10"""%Temp) if drinks == "1" : print("Good choice, Here it is, %s"%Temp) elif drinks == "2" : print("Good choice, Here it is, %s"%Temp) elif drinks == "3" : print("Good choice, Here it is, %s"%Temp) elif drinks == "4" : print("Good choice, Here it is, %s"%Temp) elif drinks == "5" : print("Good choice, Here it is, %s"%Temp) elif drinks == "6" : print("Good choice, Here it is, %s"%Temp) elif drinks == "7" : print("Good choice, Here it is, %s"%Temp) elif drinks == "8" : print("Good choice, Here it is, %s"%Temp) elif drinks == "9" : print("Good choice, Here it is, %s"%Temp) elif drinks == "10" : print("Good choice, Here it is, %s"%Temp) elif drinks == "I dont want" or drinks == "I dont want " or drinks == "I am not Thirsty" or drinks == "I am not Hungry" or drinks == "No" or drinks == "NO" or drinks == "no" or drinks == "No thankyou" or drinks == "No Thankyou" or drinks == "No, Thankyou" or drinks == "no thankyou" : print("Ok %s, Enjoy the flight !! "%Temp) else : print("Please choose from the above only %s !"%Temp) print("""1hr later .... The flight landed .... Pilot : Ladies and Gentlemen Welcome to""",Destination2,""" and Thankyou for choosing ETIHAD !!! THANK YOU """) else : print("""\nPolice2 : The Security Checkin is over there %s, Please do the Security Checkin !! %s : Oh Ok ..."""%(Temp,Name)) else : print("""\n%s, You need to book your Boarding pass first, either Online or through a travel Agency ! %s : Oh, I forgot !!! Oh NO !!!"""%(Temp,Name)) elif Travel == "2" : if Travel == "1" : Destination1 = "Which country do you live in ?" else : Destination1 = "Which state of India are you from ?" Destination = input("\nYes %s, %s "%(Temp,Destination1)) Destination2 = input("%s %s, Where would you like to go ? "%(Temp,Name)) print("""\nYour transportation is through Train, Rack Railways [Indian Railways ( Vande Bharat Express Train ) ] Please book your train from %s to %s or you can pay at the (National Train) Counter in the station, "The taxi will come right away once you book in https//national.train/book.in//.com/, ๐๐๐ " """%(Destination,Destination2)) print("\n\n\nAfter few days ..........###") print("""\n%s says - "BYE, I am going on a Short Vacation !!!" Taxi : Peep !,Peep! %s : Oh !, the Taxi has arrived . Coming !!!... Taxi : Ok %s . %s : (Door Opens), Yes, Good morning !Lets go . ......(Door Closes)...... Taxi : (Engine starts)...."Few mins/hrs later #" Here you go %s, %s : Ok ! Thankyou, Whats the total amount ? Taxi : No amount %s, The Total was already included with the Booking . We are a part of that Website ! %s : Oh ! Thats Great . Bye then !"""%(Name,Name,Temp,Name,Temp,Name,Temp,Name)) print("\nEnters the Station #") print("""Waits for the train to arrive at the station .... Train arrives after 10 minutes""") print("""Train horn - horn beeps, Bell rings ( Ting..Ting..Ting..Ting..Ting..Ting )!!! %s : Here comes the train, Wooow such luxurious !!"""%Name) print("""\nIn the train ..""") ticket = input("Conductor : Do you have the ticket %s ? "%Temp) if ticket == "Yes" or ticket == "yes" or ticket == "YES" or ticket == "YEs" or ticket == " Yes" or ticket == " yes" : print("""\nConductor : Ok %s, Please show me %s : (Gave) Conductor : Ok %s, Thankyou !!"""%(Temp,Name,Temp)) else : print("""\nConductor : %s, You cannot sit in the train without the ticket You can buy %s, I have tickets only โน 100 per ticket ! %s : OK! """%(Temp,Temp,Name)) print("After some time...") Eat = input("On-Seat Food Delivery Service : Food %s ?"%Temp) if Eat == "YEs" or Eat == "YES" or Eat == "yes" or Eat == "Yes" or Eat == " Yes" : food = input("Veg or Non-Veg %s ? "%Temp) item = input("Would you like to know the menu ? ") if food == "Veg" or food == "VEG" or food == "veg" : if item == "Yes" or item == "YES" or item == "yes" or item == "YEs" or item == " Yes" : print("""\nOn-Seat Food Delivery Service : Ok, the items are - 1) " Butter Paneer, Aloo Gobi, Jeera Rice, Gulab Jamun and Salad " or 2)" Chinese Fried Rice, Cauliflower Manchurian, Chilli Vinegar, Salad, Chocolate Brownie " """) choose = input("\nWhat %s, 1 or 2 ? "%Temp) if choose == "1" : print("""\n Take . %s - OK ."""%Name) elif choose == "2" : print("""\n Take . %s - OK ."""%Name) elif choose == "Fasting" or choose == "fasting" or choose == "FASTING" : print("Ok %s, Sorry !"%Temp) else : print("Please choose from above only !") else : print("\nOn-Seat Food Delivery Service : Ok, Enjoy !") elif food == "non-Veg" or food == "non-VEG" or food == "non-veg" or food == "Non-Veg" or food == "NON-VEG" or food == "non-veg" : if item == "Yes" or item == "YES" or item == "yes" or item == " Yes" or item == "YEs" : print("""\nOn-Seat Delivery Service : Ok, the items are - 1)" Chinese Fried Rice, Chilli Chicken, Salad, Chilli Vinegar and Chocolate Brownie " or 2)" Chefโs Special Fish Curry, Dal, Rice, Salad & Pickel and Gulab Jamun " or 3)" Chefโs Special Chicken Biriyani Garnished with egg and fried onions, Raita, Pickle and Gulab Jamun " """) choose = input("\nWhat would you like %s, 1 or 2 or 3 ? "%Temp) if choose == "1" or choose == "2" or choose == "3" : print("""Here your take %s ! %s - Thankyou !"""%(Temp,Name)) elif choose == "Fasting" or choose == "fasting" or choose == "FASTING" : print("Ok %s, Sorry !"%Temp) else : print("Please choose from above only !") else : print("\nOn-Seat Food Delivery Service : Ok %s, Enjoy !"%Temp) elif food == "I am not hungry" or food == "I am not HUNGRY" or food == "I dont want" or food == "I dont want to eat" : print("\nOk !!") else : print("\nOn-Seat Food Delivery Service : Sorry, we only have Veg/Non-Veg") drinks = input("""\nDrinks ? 1)Sprite 2)Coke 3)Fanta 4)Mountain Dew 5)Apple juice 6)Mango Jouice 7)Orange juice 8)Tea 9)Milk Tea 10)Coffee Please choose 1 to 10""") if drinks == "1" : print(" Here it is ") elif drinks == "2" : print(" Here it is ") elif drinks == "3" : print(" Here it is ") elif drinks == "4" : print(" Here it is ") elif drinks == "5" : print(" Here it is ") elif drinks == "6" : print(" Here it is ") elif drinks == "7" : print(" Here it is ") elif drinks == "8" : print(" Here it is ") elif drinks == "9" : print(" Here it is ") elif drinks == "10" : print(" Here it is !") elif drinks == "I dont want" or drinks == "I dont want " or drinks == "I am not Thirsty" or drinks == "I am not Hungry" or drinks == "No" or drinks == "NO" or drinks == "no" or drinks == "No thankyou" or drinks == "No Thankyou" or drinks == "No, Thankyou" or drinks == "no thankyou" : print("Ok !! ") else : print("Please choose from the above only ") print("\n\nAfter 1 hr..") print("""\n\n\nPlatform : Train 067644553 has reached its distination - %s, the passengers who have finished their journey are kindly requested to deboard the train ! THANK YOU """%Destination2 ) else : print("""PLEASE CHOOSE APPROPRIATE OPTION, WE ONLY HAVE THESE ROUTES TO TRAVEL !!!""")