4 ms·
A little bit offtopic, but I'm not having the same result as you do.. Python 3.5.2 (default, Nov 9 2016, 20:19:22) [GCC 4.2.1 Compatible Apple LLVM 8
by jventura 10y ago
A little bit offtopic, but I'm not having the same result as you do..
Python 3.5.2 (default, Nov 9 2016, 20:19:22)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 'ǵp'[::-1]
'pǵ'
- pwdisswordfish 10y agoUgh, I should have double-checked that neither glyph has a pre-composed code point. I switched the example to 'x́q'. (Writing it as 'g\u0301p' would also work.)