Question: Python Write a program that asks the user to input a speed limit followed by a driver's speed. Use the following rules to display proper
Python


Write a program that asks the user to input a speed limit followed by a driver's speed. Use the following rules to display proper messages. - If the speed is less than the speed limit, it should print "OK." - For every 5mph above the speed limit, it should give the driver one penalty point. If there is no penalty, display "OK."; otherwise, display the total number of penalty points. If the driver gets more than 6 points, the function should print "License suspended." Sample runs Input 1: 70 70 Output 1: ok. Input 2: 70 105 Output 2: Points: 7 License suspended. Test
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
