speed = int(input('Enter vehicle speed: ')) if speed < 50: print('No fine') if speed in range(51, 55): print('Just a caution.....') if speed in range(51, 55): print('$200 fine') if speed > 60: print('$1000 fine')