Created
July 26, 2022 04:48
-
-
Save modos/91ff23d9f53eae432147a8b6ab3060c2 to your computer and use it in GitHub Desktop.
ثبت نام
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def check_registration_rules(**kwargs): | |
list = [] | |
for key, value in kwargs.items(): | |
if key != "quera" and key != "codecup" and len(key) >= 4: | |
if len(value) >= 6 and not value.isnumeric(): | |
list.append(key) | |
return list | |
print(check_registration_rules(username='password', sadegh='He3@lsa', quera='kLS45@l$')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment