13
What is the output of the following code?
class C:
count = 0
def __init__(self):
C.count += 1
C(); C(); C()
print(C.count)Easy
What is the output of the following code?
class C:
count = 0
def __init__(self):
C.count += 1
C(); C(); C()
print(C.count)Log in to join the discussion.