Source Code:
(back to article)
my_string = "Hello, World!" print(my_string[::-1]) # Output: "!dlroW ,olleH"
Result:
Report an issue