Speed = int(input( "Enter vechicle speed: " )) if Speed < 51: print('Fine is 0$') elif Speed > 60: print('Fine is 1000$') elif Speed > 55: print('Fine is 200$') elif Speed > 50: print('Fine is just a caution')