Skip to content

Instantly share code, notes, and snippets.

@kimihito
Created June 22, 2012 23:43
Show Gist options
  • Save kimihito/2975800 to your computer and use it in GitHub Desktop.
Save kimihito/2975800 to your computer and use it in GitHub Desktop.
初めてのPython Ⅲ部
#!/usr/bin/env python
# coding: utf-8
#convert string to ascii code.
S = ["A","B","G"]
for i in S:
print ord(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment