Skip to content

Instantly share code, notes, and snippets.

@Snawoot
Created October 14, 2013 19:34
Show Gist options
  • Save Snawoot/6980867 to your computer and use it in GitHub Desktop.
Save Snawoot/6980867 to your computer and use it in GitHub Desktop.
def checkio(data):
#replace this for solution
return len(data)>=10 and reduce(lambda y, char: True if str.isupper(char) else y, data, False) and reduce(lambda y, char: True if str.isdigit(char) else y, data, False) and reduce(lambda y, char: True if str.islower(char) else y, data, False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment