speed = int(input("Enter vehicle speed:")) if speed <= 50 : print("no fine") elif speed > 50 and speed <= 55 : print("just a caution") elif speed > 55 and speed <= 60 : print("200 dollar fine") elif speed > 60 : print("1000 dollar fine")