second_commit

This commit is contained in:
Danil 2026-04-04 12:59:03 +03:00
parent 5f3a282d05
commit 1cc616b213

9
m.py Normal file
View File

@ -0,0 +1,9 @@
def is_strong_password(password: str) -> bool:
if len(password) < 8:
return False
checker_dig = any([i.isdigit() for i in password])
checker_alp = any([i == i.upper() for i in password])
return checker_dig and checker_alp
print(is_strong_password("asdffsdf1"))