RosettaCodeData/Task/String-length/Python/string-length-6.py

3 lines
64 B
Python

print hex(sys.maxunicode), len(unichr(0x1F4A9))
# ('0xffff', 2)