Question: Python Write a program that reads in the speed limit followed by a driver's speed and then displays a message based on the following descriptions:
Python

Write a program that reads in the speed limit followed by a driver's speed and then displays a message based on the following descriptions: - If the driver sped by less than 5mph (including not speeding), display No ticket. - If the driver sped by 5 (inclusive) to 15 (exclusive) mph, display A ticket for a $75 fine. - If the driver sped by 15 (inclusive) to 20 (exclusive) mph, display A ticket for a $150 fine. - If the driver sped by 20mph or more, display A ticket for a $500 fine, and a mandatory court date
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
