Question d’entretien chez VINAYA KUMAR

Question: How can you reverse a string in Python?

Réponse à la question d'entretien

Utilisateur anonyme

22 mars 2024

my_string = "hello" reversed_string = my_string[::-1] print(reversed_string) # Output: "olleh"