I have the code written to return the below values based on the age a user inputs. I am struggling to come up with an ELSE
statement that will only allow one print statement to be generated. Here is the code that I have thus far.
statement that will only allow one print statement to be generated. Here is the code that I have thus far.
def main(): numb = int(input('Please enter your age: ')) if numb < 1: print('Invalid') if numb < 18: print('Too Young') if numb < 65: print('Still Working') if numb > 65: print('Retired') main()