Skip to content

Instantly share code, notes, and snippets.

@hideaki-t
Created March 27, 2012 04:37
Show Gist options
  • Save hideaki-t/2212582 to your computer and use it in GitHub Desktop.
Save hideaki-t/2212582 to your computer and use it in GitHub Desktop.
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> print unichr(ord(u'生') & ord(u'死'))
Python 3.3.0a1 (default, Mar 4 2012, 17:27:59) [MSC v.1500 32 bit (Intel)] on w
in32
Type "help", "copyright", "credits" or "license" for more information.
>>> print(chr(ord('生') & ord('死')))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment