Comment

Comment by zoomablemind

It seems altogether surprising that with an empty list or tuple a, a[1] results in index error, yet a[1:] quietly returns an empty list or tuple.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton