speed = int(input("Enter vehicle speed: ")) if speed > 1 and speed < 50 or speed == 50 or speed == 1: print('Fine is nothing') if speed > 51 and speed < 55 or speed == 51 or speed == 55: print("Just a caution") if speed > 56 and speed < 60 or speed == 56 or speed == 60: print("Fine is $200") if speed > 61 or speed == 61: print("$1000 fine")