conversion.md

January 22, 2023 ยท View on GitHub

Conversion

What is the result of each of the following statements?

  1. int(False)
  2. int(True)
  3. bool(0)
  4. bool(1)
  5. True + 2
  6. float(True)

Solution

Click here to view the solution