Skip to content

Files

Latest commit

author
abregman
Apr 9, 2022
90ece0d · Apr 9, 2022

History

History
11 lines (9 loc) · 229 Bytes

true_or_false.md

File metadata and controls

11 lines (9 loc) · 229 Bytes

True or False?

What is the result of each of the following statements?

  1. bool(1) - True
  2. bool("2017") - True
  3. bool("") - False
  4. bool(0) - False
  5. bool() - False
  6. bool(" ") - True
  7. True-True - 0 :)