Medium
Order of __init__ Calls
A.__init__ prints A; B(A) prints B start, calls super().__init__(), then prints B end; C(B) does the same with C. Read class names on one line and create each object in turn.Input
Names: A, B or C.
Output
Lines.
Sample 1
Input
C
Output
C start B start A B end C end
Sample 2
Input
A B
Output
A B start A B end
Output appears here