Spaces:
Runtime error
Runtime error
| import re | |
| def auth(username, password): | |
| regex = r"^11[1-6]\d{3}$" | |
| if re.search(regex, username) and password == '1234': | |
| return True | |
| else: | |
| return False | |
| import re | |
| def auth(username, password): | |
| regex = r"^11[1-6]\d{3}$" | |
| if re.search(regex, username) and password == '1234': | |
| return True | |
| else: | |
| return False | |