3 ms·
You can actually say `reversed(iterable)`, which returns another iterable yielding everything backwards. Now, this is not returning a string, which leads to som
by koenigdavidmj 16y ago
You can actually say `reversed(iterable)`, which returns another iterable yielding everything backwards. Now, this is not returning a string, which leads to some warts:
* list(reversed(a_list))
* "".join(reversed(a_str))
and the like.