What will be the output of the following Python expression?

print(5 & 3)
                        

Options

  • A. 7
  • B. 2
  • C. 1
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. 1

Detailed Explanation

Explanation: Binary 101 AND 011 gives 001, which is 1.