From 52617d5c82c0f5a8c50e9c75dde3918a3b81a869 Mon Sep 17 00:00:00 2001 From: Gregory Inouye <48232124+gregoryinouye@users.noreply.github.com> Date: Thu, 20 Oct 2022 11:56:59 -0700 Subject: remove duplicate truthy falsy explanation --- python.html.markdown | 9 --------- 1 file changed, 9 deletions(-) diff --git a/python.html.markdown b/python.html.markdown index 0b115c4e..4aeb93f4 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -165,15 +165,6 @@ None # => None "etc" is None # => False None is None # => True -# None, 0, and empty strings/lists/dicts/tuples/sets all evaluate to False. -# All other values are True -bool(0) # => False -bool("") # => False -bool([]) # => False -bool({}) # => False -bool(()) # => False -bool(set()) # => False - #################################################### ## 2. Variables and Collections #################################################### -- cgit v1.2.3