What happens when ‘1’ == 1 is executed?
A. we get a True
B. we get a False
C. an TypeError occurs
D. a ValueError occurs
Answer:A
What happens when ‘1’ == 1 is executed?
A. we get a True B. we get a False C. an TypeError occurs D. a ValueError occurs
Explanation: It simply evaluates to False and does not raise any exception.