Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import re
- steps = input()
- if len(steps) <= 1000:
- pattern_password = re.compile(r'^(?=.*[0-9].*)(?=.*[a-z].*)(?=.*[A-Z].*)[0-9a-zA-Z]{8,}$')
- if bool(pattern_password.match(steps)) == True:
- print('Yes')
- else:
- print('No')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement