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

3 lines
65 B
Python

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