The boolean datatype in Python
Boolean is a true / false, on / off value:
print type(True) print type(False)
Results in:
<type 'bool'>
<type 'bool'>
Boolean is a true / false, on / off value:
print type(True) print type(False)
Results in:
<type 'bool'>
<type 'bool'>