Speed = int(input("Enter vehicle speed: ")) if Speed > 1 and Speed < 50 or Speed == 50: print("You have no fine.") if Speed > 51 and Speed < 55 or Speed == 51 or Speed == 55: print("You have a caution.") if Speed > 56 and Speed < 60 or Speed == 56 or Speed == 60: print("Fine is $200.") if Speed > 61 and Speed < 999 or Speed == 61: print("Fine is $1000.")