Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import re
- password = input("Введите пароль не менее 8 символов и не более 64")
- # Проверяем длину пароля
- if 0 < len(password) <= 64:
- print('ok')
- # if re.match("[a-zA-Z0-9]+", password) == True:
- # print('Збс')
- pass_list = []
- for i in password:
- print(i)
- pass_list.append(i)
- print(pass_list)
- for el in pass_list:
- if el == re.match("[a-zA-Z0-9]+", [pass_list]):
- print('копать колотить',l)
- else:
- print('неправильный пароль')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement