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