Question: python An automobile speed detector uses radar and produces a light to determine if a detected speed is okay ('green') or needs a warning ('yellow')

python
An automobile speed detector uses radar and produces a light to determine if a detected speed is okay ('green') or needs a warning ('yellow') or is a violation ('red'). On a particular stretch of road, speeds of 40 up to 70 are okay, speeds above 70 but equal to or below 75 should receive a warning, and speeds either below 40 or above 75 should signal a violation. Write a program that asks the user to enter a speed and then outputs one of the following based on the parameters above: 'green' or 'yellow' or 'red'. qualifies if
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
