3 ms·
This is what I get on Python 3.6: Python 3.6.8 (default, Dec 30 2018, 13:01:27) Type 'copyright', 'credits' or 'license' for more information IPython 7.5
by m-arnold 7y ago
This is what I get on Python 3.6:
Python 3.6.8 (default, Dec 30 2018, 13:01:27)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: len("FACEPALM_EMOJI_DELETED_BY_HN")
Out[1]: 1
- masklinn 7y agoThat would be because it's a single codepoint (U+1F926 FACE PALM). Try out the family or flag emoji (which are composite) and you should get a different result.