Please explain how to generate different output in following logical operations
>>> 0 and True
0
>>> 0 or True
True
>>> 1 and True
True
>>> 1 or True
1
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to