Skip to content

Latest commit

 

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 :)