From 1cc616b213396856c0655348573499099a0f388f Mon Sep 17 00:00:00 2001 From: Danil Date: Sat, 4 Apr 2026 12:59:03 +0300 Subject: [PATCH] second_commit --- m.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 m.py diff --git a/m.py b/m.py new file mode 100644 index 0000000..b8b4008 --- /dev/null +++ b/m.py @@ -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"))