Answer:
Check the explanation
Step-by-step explanation:
here is the complete python code as per the requirement.
=========================================================
#ask to input speed limit
speed_limit = int(input("Enter the speed limit: "))
#if speed limit is less than 90
if speed_limit <=90:
print("Speed is legal.")
#else calculate the fine
else:
fine = 50 + 5 * (speed_limit - 90) + 200
#display the fine
print("fine amount is: $", fine, sep='')
=========================================================
Kindly check the code screenshot and code output in the attached images below.