52-python based -python3- List - list of common methods - Reverse () method

reverse () method

Permanently modify the order of the list of elements, but can be restored at any time to the original sort order, for which only the list again calls reverse () can be.

Example:
 

 

Guess you like

Origin www.cnblogs.com/summer1019/p/11372021.html