What is the output of the following code? class A: def __init__(self, i=0): self.i = i class B(A): def __init__(self, j=0): self.j = j def main(): b = B(50) print(b.i) print(b.j) main()
What is the output of the following code?
class A: def __init__(self, i=0): self.i = i class B(A): def __init__(self, j=0): self.j = j def main(): b = B(50) print(b.i) print(b.j) main()
a. Attribute Error
b. 0.50
c. None of the above
d. 0.0