diff --git a/Course3/Lab4/validations.py b/Course3/Lab4/validations.py index b18de65a2e..e1bd8bc0a9 100644 --- a/Course3/Lab4/validations.py +++ b/Course3/Lab4/validations.py @@ -16,7 +16,7 @@ def validate_user(username, minlen): if not re.match('^[a-z0-9._]*$', username): return False # Usernames can't begin with a number - if username[0].isnumeric(): + if not username[0].isnumeric(): return False return True