vehiclespeed = int(input("Enter Vehicle speed: " )) if vehiclespeed in range (0,51): print("No fine is needed.") if vehiclespeed in range (51,56): print("Just a caution.") if vehiclespeed in range (56,61): print("The fine is $200") if vehiclespeed in range (60,100000): print("Fine is $1000")