Skip to content

Instantly share code, notes, and snippets.

@shigemk2 shigemk2/str.py
Created Sep 13, 2014

Embed
What would you like to do?
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
You can’t perform that action at this time.