speed = int(input('Enter vehicle speed: ')) if speed < 51: print('No fine') if (speed > 50) and (speed < 56): print('Just a caution') if (speed> 55) and (speed < 61): print('$200 fine') if speed > 60: print('$1000 fine')