Question: begin to code with python textbook chapter 6 assignments USE IDLE's EDITOR WINDOW TO COMPLETE THE ASSIGNMENTS BELOW - Do NOT use the SHELL window
USE IDLE's EDITOR WINDOW TO COMPLETE THE ASSIGNMENTS BELOW - Do NOT use the SHELL window that displays prompts (>>) and version/copy/license info at the top. Begin to Code Textbook: MSH 1 (first part): Create a looping selection progrom Using IDLE, use a while loop to make a theme park nide selector that nuns continoously. All you need to do is put all of the stalements that implement the theme park behuvior into a while Trac construction. Save as loopingRideSelector,py MSH 1 (second part): Create a looping countdown program Create a countdown program that counts down from ten to zero over ten seconds. You could use it to manage a rocket launch. You can use the example program, EG6-02 Loop with counter, as a starting point, and use the sleep function from the time library to pause the program for a second between each count. Save as countDown.py MSH 2: Add ride number validotion to the theme park ride selector Une the code below to add zide number validation to the theme pork ride nelector. Penember that the while conatriation belov nust be added after the Ilde_number value haz been reat by the program. Save as validateRideSelectorpy MSH 3: Add validation to the theme park age input Open the validateRideselector.py file you created in MSH 2 and add age validation to the theme park ride selector. The theme park owner has told you that the minimum age for anyone going on a ride at the theme park is 1 year, and the maximum age is 95. Use these values in your program. Save as ageValidate.py. Python Crash Course textbook Complete the following using IDLE's text editing window to demonstrate your looping skills. 7-2. Restaurant Seating: Write a program using IDEE's Editor Window that asks the user how many people are in their dinner group and while the answer is more than eight, print a message saying they'll have to wait for a table. Otherwise, report that their table is ready. Save as restaurant.py 7.5. Movie Tickets: A movie theater charges different ticket prices depending on a person's age. If a person is under the age of 3 , the ticket is free; if they are between 3 and 12 , the ticket is $10; and if they are over age 12 , the ticket is $15. Write a loop in which you ask users their age, and then tell them the cost of their movie ticket. Save as movie Tickets.py
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
