What is the output of the following Python code snippet?
class A:
def __init__(self): print('A', end=' ')
class B(A):
def __init__(self):
print('B', end=' ')
super().__init__()
B()
def __init__(self): print('A', end=' ')
class B(A):
def __init__(self):
print('B', end=' ')
super().__init__()
B()
Correct answer
B. B A
10 views