Pergunta de entrevista da empresa VINAYA KUMAR

Question: How can you reverse a string in Python?

Resposta da entrevista

Sigiloso

22 de mar. de 2024

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