Machine Learning
Python learning entry to master: bool data type
1. Concept explanationThe bool data type has only two values, namely True and False.In the real world, true, correct, right, and positive. This group of words expresses a kind of affirmative meaning, and the corresponding ones are false, wrong, wrong, and negative. In the python language, True is equivalent to true, correct, correct, positive, and False is equivalent to false, wrong, wrong, negative.Follow my code in the interactive interpreter>>> 4> 3 True >>> 4> 6 False