r/Python • • Oct 05 '16

Python Cheat Sheet

https://www.cheatography.com/davechild/cheat-sheets/python/
79 Upvotes

32 comments sorted by

View all comments

1

u/Airith Oct 06 '16

This (and some googling as it didn't really explain anything) finally made me figure out slices. Pretty straightforward now, but it seemed very arcane. a[start:end] (optional :step).