bool型で出来る演算。and, or , not がある。

1
2
3
4
5
6
7
8
>>> a = True
>>> b = False
>>> a and b
False
>>> a or b
True
>>> not a
False