The reverse() method is part of the list class/module and reverses the elements of the list in place. Meaning the actual list itself is changed, not a copy.
https://docs.python.org/3/tutorial/datastructures.html
22nd Oct 2020, 12:26 AM
ChaoticDawg
Vous avez souvent des questions comme celle-ci ?
Apprenez de maniĂšre plus efficace, gratuitement :