a) we get a True
b) we get a False
c) an TypeError occurs
d) a ValueError occurs
1 thought on “What happens when ‘1’ == 1 is executed?”
Leave a Comment
You must be logged in to post a comment.
a) we get a True
b) we get a False
c) an TypeError occurs
d) a ValueError occurs
You must be logged in to post a comment.
b
Explanation: It simply evaluates to False and does not raise any exception.