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