+ 1
True and false
What is the purpose of true and false?
2 Answers
+ 10
It's used to represent the truth value of an expression.
+ 1
The True keyword is a Boolean value, and result of a comparison operation.
The True keyword is the same as 1 (False is the same as 0).
//
https://realpython.com/JUMP_LINK__&&__python__&&__JUMP_LINK-boolean/
https://www.w3schools.com/python/ref_keyword_true.asp
https://canvas.bham.ac.uk/courses/16048/pages/booleans
https://pythonprogramminglanguage.com/booleans/
https://www.w3schools.com/python/python_booleans.asp