def hint_username(username): if len(username) < 3: print("Invalid username. Usernames must have more than 3 characters") else: print("valid username") print (hint_username("charmingchand"))OUTPUTOutput:valid username NoneI would like to know why is none appearing here? buran write Feb-22-2024, 12:00 PM:
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
