mblayman / mattlayman.com

Matt Layman's Website
https://www.mattlayman.com/
11 stars 15 forks source link

fix: "all" built-in function behavior explanation on empty list/tuple #166

Closed robertgr991 closed 1 month ago

mblayman commented 1 month ago

Thanks @robertgr991, I think I was thinking of if my_list instead of if all(my_list) when I was thinking about the empty behavior. I appreciate you bringing this to my attention. I'm going to word this differently and add an example, but thank you for your correction.