examples/strings/boolean.py
from __future__ import print_function

v = 23

if v:
    print("23 is true")

v = 0

if v:
    print("0 is true")
else:
    print("0 is false")

v = True
if v:
    print(v, "is true - who would thought? ")

v = not True
print(v)  # False

# 23 is true
# 0 is false
# True is true - who would thought?
# False

None is like undef or Null or Nill in other languages.