Source Code:
(back to article)
string = "hello" reversed_string = string[::-1] print(reversed_string) # Output: "olleh"
Result:
Report an issue