9951 explained code solutions for 126 technologies


pythonReverse a string


reversed = "string"[::-1]ctrl + c
reversed

will contain reversed string

"string"

example string to reverse

[::-1]

slice assignment operation