speed = int( input("Enter vehicle speed:")) if speed == (0-50) : print( "no fine" ) elif speed == (51-55) : print("just a caution") elif speed == (56-60) : print("$200 fine") elif speed == (60-500) : print("$1000 fine") else: print("invalid number")