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
This question was posed to me in an interview for job.
My question is taken from Exception Handling in portion Classes and Objects, Inheritance, Polymorphism, Encapsulation and Exception Handling of Python