Опубликовано: 26 Октябрь 2022 на канале: Mati Codes
1,626
87
In this video, I'll show you how to reverse a string in a single line of code. In Python, you can use list slicing operators on strings and the step argument is the trick to reversing the string.