Untitled

mail@pastecode.io avatar
unknown
plain_text
17 days ago
399 B
0
Indexable
Never
password = input()

lower = False
upper = False
length = False
digit = False

if len(password) > 8:
    length = True

for i in password:
    if i.islower():
        lower = True
    if i.isupper():
        upper = True
    if i.isdigit():
        digit = True

if lower and upper and length and digit:
    print("Пароль надежный")
else:
    print("Пароль ненадежный")
Leave a Comment