Question: For this exam you ll write a program to track wait times for rides at Disneyland. Use of at least two colors and one emoji
For this exam youll write a program to track wait times for
rides at Disneyland. Use of at least two colors and one emoji to make the interface more appealing.
User Input which should then be displayed in at least two places.
You must use the starter file provided for this exam which includes the populated parallel
lists data. There is an error in this file with Peter Pans flight, which has an
apostrophe, you must use an escape sequence for the apostrophe to fix this. There is
a comment in the file that mentions this as well.
In order to get your output to line up neatly, you will need to use the tab escape
sequence as well as string formatting with format including the use of the leftaligned
column width formatting, : in the placeholder for the variable in the first column the
rides list For example, the beginning part of your print statement will look like this the
three dots means etcetera for you to finish the rest of the print line: print:
Loop through your lists in parallel to display the data to the user sample required
program output is shown on the next page Add column headers for readability.
Find and display the average wait time for all rides and format it to two decimal places.
This must include the use of a running total to be used in the calculation for the average.
Find and display the rides with the shortest and longest wait times. You must use an if
statement to do these; do not use any builtin functions.
Extra Credit: points extra credit can be earned by importing the datetime module and
using the today function to define and then format the string to display the current date in
the mmddyy format
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
