One of my favorite features of Python: Sequence slicing! Use it to copy a list, reverse a list, or get a subsequence.
As always, the relevant Python documentation is pretty good: https://docs.python.org/2/tutorial/in...
As a bonus read, the original porting of slice-stepping to non-list sequences was introduced in Python 2.3
https://docs.python.org/2.3/whatsnew/...
Enjoy slicing!
En esta página del sitio puede ver el video en línea Learning Python 009: Sequence Slicing de Duración hora minuto segunda en buena calidad , que subió el usuario BrandonioProductions 14 mayo 2018, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 537 veces y le gustó 7 a los espectadores. Disfruta viendo!