Q.

What will be the output of the following
Python code snippet?
not(10<20) and not(10>30)

A. true
B. false
C. error
D. no output
Answer» B. false
Explanation: the expression not(10<20) returns false. the expression not(10>30) returns true. the and operation between false and true returns false. hence the output is false.
863
0
Do you find this helpful?
1

Discussion

No comments yet