Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = input()
- first = False
- if len(s) > 7 and len(set(s)) > 3:
- first = True
- second = False
- w = 'qwertyuiopasdfghjklzxcvbnm'
- for i in w:
- if i in s:
- second = True
- break
- w = w.upper()
- third = False
- for i in w:
- if i in s:
- third = True
- break
- r = False
- for i in range(10):
- if str(i) in s:
- r = True
- break
- last = True
- s = s.lower()
- if s.find('anna') != -1:
- last = False
- if first and second and third and last and r:
- print('strong')
- else:
- print('weak')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement