Python - Advanced Exception Handling
You want to create a function that raises a custom error if a username is empty or less than 3 characters. Which code correctly raises a custom error with message 'Invalid username'?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions