Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
stOneskull
on Aug 25, 2023
|
parent
|
context
|
favorite
| on:
Why does all() return True if the iterable is empt...
i think it's a 'black marble bag'. you want to make sure it only ever has black marbles in it. so you do checks on it.. does the bag only contain black marbles? you want to check there's no non-black marbles.
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: