There is no built-in function to reverse a String in Python. The fastest (and easiest?) way is to use a slice that steps backwards, -1. Create a slice that starts at the end of the string, and moves backwards. In this particular example, the slice statement [::-1] means start at the end of the string and end at position 0, move with the step -1, negative one, which means one step backwards.
Nesta página do site você pode assistir ao vídeo on-line Fun Python Tips&Tricks: How to reverse string in Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Full Stack CTO 29 Julho 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 178 vezes e gostou 5 espectadores. Boa visualização!