Advertisement
marvk

Untitled

Oct 11th, 2015
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. d=l=u=0
  2. for(c of s=readline())d+=/\d/.test(c),l+=/[a-z]/.test(c),u+=/[A-Z]/.test(c)
  3. print(d>0&&l>0&&u>0&&s.length>7)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement