Created
June 20, 2009 21:08
-
-
Save twopoint718/133286 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 lower_text(text): | |
| return " ".join(map(lambda w: str.lower(w), text.split())) | |
| if __name__ == "__main__": | |
| print "Enter some text in mixed-case" | |
| input = raw_input() | |
| print lower_text(input) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment