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