To Simulate The Plans We Are Going To Write A Program That Will Act Like A Travel Agent Your Program Needs To Do The F 1 (96.6 KiB) Viewed 33 times
To simulate the plans, we are going to write a program that will act like a travel agent. Your program needs to do the following: 1. Ask the user where they would like to go: Beach, Theme Park, or Science Center 2. If the user input they are going to the Beach, you will ask the user how many beach balls they have. If that number is greater or equal to than 5 then print out "You are well prepared." If is is less than then that print out "Are you sure you have enough?" 3. If the user inputs they are going to the Theme Park, ask the user how many parks they are going to. For each park, print out "Day 1, Park 1", "Day 2, Park 2" and so on. 4. If the user inputs they are going to the Science Center, ask the user if they are ready to leave. If they are not ready to leave, ask again until they say "Ready".
# Ask for input location = input ("Where would you like to go?\n") if (location "Beach"): pass # Delete pass and do what is needed here if (location == "Theme Park"): pass # Delete pass and do what is needed here if (location == "Science Center"): pass # Delete pass and wo what is needed here
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!