SHARE
TWEET

Untitled

a guest Mar 17th, 2018 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. s = input()
  2. first = False
  3. if len(s) > 7 and len(set(s)) > 3:
  4.     first = True
  5. second = False
  6. w = 'qwertyuiopasdfghjklzxcvbnm'
  7. for i in w:
  8.     if i in s:
  9.         second = True
  10.         break
  11. w = w.upper()
  12. third = False
  13. for i in w:
  14.     if i in s:
  15.         third = True
  16.         break
  17. r = False
  18. for i in range(10):
  19.     if str(i) in s:
  20.         r = True
  21.         break
  22. last = True
  23. s = s.lower()
  24. if s.find('anna') != -1:
  25.     last = False
  26. if first and second and third and last and r:
  27.     print('strong')
  28. else:
  29.     print('weak')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top