Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
print("Converts a string to the {QUOTE} Field code")
st = raw_input("String to convert: ")
v = map(lambda y: "%s"%ord(y),st)
print("{ QUOTE %s }"%' '.join(v))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment