Reversed

Learn how to reverse sequences with the help of the "reverse" function.

We'll cover the following

reversed function

reversed is a useful function. It returns an iterator that reverses the order of the elements in the original sequence. For example:

Get hands-on with 1400+ tech skills courses.