Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = input()
- def func(s):
- if len(s) <= 8:
- return False
- count = 0
- buf = 'qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM123456789'
- for i in s:
- if i in buf:
- count += 1
- if count != len(s):
- return False
- return True
- if func(s):
- print("YES")
- else:
- print("NO")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement