Untitled
unknown
plain_text
a year ago
399 B
3
Indexable
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("Пароль ненадежный")
Editor is loading...
Leave a Comment