Source Code:
(back to article)
string = "hello" reversed_string = ''.join(reversed(string)) print(reversed_string) # Output: "olleh"
Result:
Report an issue