3 ms·
"So why not write reversed_string = orig_string.reverse()" reverse() does an in-place reversal of the original list and does not return the result.
by Daniel_Newby 18y ago
"So why not write reversed_string = orig_string.reverse()"
reverse() does an in-place reversal of the original list and does not return the result.