Advertisement
Guest User

Untitled

a guest
May 19th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. import re
  2. steps = input()
  3. if len(steps) <= 1000:
  4.     pattern_password = re.compile(r'^(?=.*[0-9].*)(?=.*[a-z].*)(?=.*[A-Z].*)[0-9a-zA-Z]{8,}$')
  5.     if bool(pattern_password.match(steps)) == True:
  6.         print('Yes')
  7.     else:
  8.         print('No')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement