Created
October 14, 2013 19:34
-
-
Save Snawoot/6980867 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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