## Boolean data

a = True
b = False
type(a)         # check a type of data
type(b)

1 == 1
2 > 1
2 < 1

a = [1,2,3,4]
while a:
    a.pop()     # take out each element from the most right side

if []:
    print("true1")
else:
    print("false1")

bool('python')
bool('')
bool([1,2,3])
bool([])
bool(0)
bool(3)  