Returning Values Exercise
Question 1 of 5
You need a function that validates user input and provides feedback. Which return pattern is most helpful?
# Function should check if username is valid and explain why if notreturn True or False only
print error messages instead of returning them
return None for invalid input
return is_valid, error_message