Python list.reverse() Method
The reverse() method reverses the sorting order of the elements.
Syntax
list.reverse()
Parameters
No parameters.
Return Value
None. The list is modified in place.
Example
Using the reverse() method:
Output
Click Run to execute your code
Enjoying these tutorials?