Apr-28-2021, 11:25 AM
Please consider the following Python expression where a and b have integer values.
a and b
I claim that value of this expression is 0, if a is 0. If a is non-zero then the value of this expression is b. Do I have this right?
I am also wondering why it would be defined this way. Any idea?
a and b
I claim that value of this expression is 0, if a is 0. If a is non-zero then the value of this expression is b. Do I have this right?
I am also wondering why it would be defined this way. Any idea?