Comment

Comment by throw_a_grenade

Some of that looks incorrect

> all returns True if all elements in something list-like (such as a list or tuple) are “truthy.” If any element is false or if the list is empty, it returns False.

  Python 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  >>> all([])
  True

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton