Question: using python print ( Problem 9 ) In the main function Ask the user how many hours they are parking Ask the user

using python print("Problem 9")
In the main function
Ask the user how many hours they are parking
Ask the user what zone they are parking.
Ask the user if the vehicle is commercial or not.
Call the function with three arguments.
Create a function with three parameters.
Using conditional statements, calculate and print the total cost For example, if the vehicle is commercial, they park for 3 hours in Zone M1, the cost is:
7+10+13=30
Test your function and show three different outcomes of your code in the Terminal Output. including the function call and function definition.
using python print ( " Problem 9 " ) In the main

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!