if:
x = 0
b = x==0
and i print be it would print 'true'
but if i did:
x = 0
b = x ==3
and i printed be it would be false. In stead of it printing false how would i take the boolean value 'b' to print what text i wanted?
let me explain further:
bool = all(n > 0 for n in list)
if bool != 'True':
print 'a value is not greater than zero'
But it prints nothing?