speed=int(input("Enter a vehicle speed (km/h) ")) if speed<=50: print("'No fine.'") if (speed>50) and (speed<=55): print("'Just a caution.'") if (speed>55) and (speed<=60): print("'A $200 fine sir.'") if speed>60: print("'A $1000 fine sir.'")