Python if-elif MCQs

Question 1: Logical AND operator returns True if

Question 2: Which of the following operators checks the equality of two operands?

Question 3: Operands of the logical operator may be of which type?

Question 4: Which of the following statements will be executed by Python interpreter without error?

Question 5: Which of the following statements is not true?

Question 6: What will be the output of the following code snippet?

income = 1000
if income>2000:
    tax=500
else:
   	tax=0
print(tax)

Question 7: What is true about the elif keyword: