Booleans are operators that assign a True or False value to a logic. Booleans are never used alone but instead they are used with logical operators to check if a condition is True of False . In Python true is represented as 'True' and false as ' False' .
print(3>1) print(2<1) my_value = True print(my_value)
True False True
'None' assignment is really useful in Python . It is not possible to create a variable that has no value assigned to it. However if you want a variable to exist without a value assigned to it than you must assign 'None' value to it. Note that if a variable is not assigned a value than Python will throw error.
# next line of code
#next line of code