text input('number?'number float(textuser input if number print('number must be positive!'exit(input validation if number lower number upper elselower upper number initialization the input validation phase comes straight after the input itself