C-17-Q029mediumsingle_mcq
The Python logical operators used in the leap-year condition are:
The Python logical operators used in the leap-year condition are:
- a
andandor - b
&&and|| - c
notandxor - d
isandin
ব্যাখ্যা
Python uses the keywords and and or for logical operations, not the symbolic && / || used in some other languages. The leap-year condition combines its tests with these keywords.