What is the expected behavior of the following code?

What is the expected behavior of the following code?

A . it outputs ‘None’
B . it outputs 3
C . it raises an exception
D . it outputs 0

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments