Tuesday, May 19, 2020

Boolean Values


A programmer writes a program and the program asks questions. Python executes the program and provides the answers. The program must be able to react according to the received answers.

Computers know only two kinds of answers.

  • Yes. This is true.
  • No. This is false.


So the two Boolean values have strict denotations in Python. (Including case-sensitivity)

True
False




No comments:

Post a Comment