Question: using python if / else and or condition statments print ( Problem 7 ) Ask the user if they have a commercial vehicle.

using python if/else and or condition statments
print("Problem 7")
Ask the user if they have a commercial vehicle.
If they are a commercial vehicle, they can park for 1-3 hours.
If they are not, they can park for 1 or 2 hours.
Ask the user how many hours they park.
Ask the user what zone they park in.
Using conditional statements, print the price per the chart.
Parking Meter Rates
Always check posted signage and meters to confirm current regulations and price.
Zones M1 and M2 have different rates for "Commercial Vehicles Only" meters.
For example, if they a commercial vehicle and park for 3 hours in M1, they pay 7+10+13=
$30
using python if / else and or condition statments

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!