filmov
tv
CORRECT way to reverse a Python string and handle Unicode 🐍 #shorts

Показать описание
If you have single byte Unicode characters you can use [::-1] slicing syntax to reverse. With larger byte characters like 🐍, you can use grapheme packages to turn into a list that can be reversed.