Hacker News new | ask | show | jobs
by NoodleIncident 4480 days ago
Slices make sense when you realize that [n:n] is always empty, and [:n] + [n:] is always the whole list. From these two identities, all else follows.