speed = int(input("What is the speed of your car? ")) if speed <= 50: print("No fine" ) if speed > 50 and speed <= 55: print("Just a caution") if speed > 55 and speed <= 60: print("$200 fine") if speed > 60: print("$1000 fine")