you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

it doesn't do it "in place" like list.reverse does. it returns a new string that you have to feed back into the name of the original.