Oct-04-2019, 05:55 AM
(Oct-04-2019, 04:34 AM)newbieAuggie2019 Wrote: 0, 0.0, and "" (the empty string) are considered 'False', while all other values are considered 'True'Technically the second part of this statement (my bold) is not 100% true -
None
and empty sequences and container types like list, tuple, dict, etc. are also evaluated Falsehttps://docs.python.org/3/library/stdtypes.html#truth
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs