0
Why not 34 gives false ?
When I write not 34 in IDLE it gives False, Why?
3 ответов
+ 4
The boolean value of any number different than 0 is True, so bool(34) returns True.
So not 34 is same as not True is same as False
+ 1
Aymane Boukrouh Nice explanation. 👍
+ 1
Rik Wittkopp thanks!