and
a and b
if a by false Or for 0, Then return to a
if a by true Or not 0, Then return to b Value , No matter what b What type is it , if b The value of is 2, The returned result is 2
&&
a && b
One of the two is false or 0 when , return 0
Otherwise return to 1
learn Python How much money ?
Python+OpenCV How to realize m