Report Bug

Qus: <p>What will be the output of the following Python code snippet? </p><pre>print(not(3>4))<br>print(not(1&1))</pre>

Qus<p>निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">print(not(3&gt;4))<br>print(not(1&amp;1))</pre>


A. True True
B. True False
C. False True
D. False False


Solution
B. True False



Explanation
The function not returns true if the argument amounts to false, and false if the argument amounts to true. Hence the first function returns false, and the second function returns false.
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test , CCC MCQ Python Coding Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Website development Company in Allahabad