Created
September 13, 2014 08:55
-
-
Save shigemk2/a5306e39390b0949b081 to your computer and use it in GitHub Desktop.
This file contains 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 convstr(v): | |
return map(lambda x: ord(x), v) | |
def mapstr(v): | |
return map(lambda x: x, "MZ") | |
print convstr("MZ") | |
print mapstr("MZ") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment