2 ms·
In python 7 and 13 is 13. 7 is true, so it returns the second part of the and statement which is 13. So the answer is 13. Code below as proof: > print(13 % (7
by Jensson 5y ago
In python 7 and 13 is 13. 7 is true, so it returns the second part of the and statement which is 13. So the answer is 13.
Code below as proof:
> print(13 % (7 and 13))
outputs: 0.