speed = int(input("Enter vehicle speed: ")) if speed < 50: print("No fine") if speed in range(51, 55): print("Just a caution...") if speed in range(56, 60): print("Slow down, $200 fine") if speed > 60: print("Licence and registration please, $1000 fine!!!")