fork download
  1. class com:
  2. def __init__(self):
  3. print("A")
  4.  
  5. class b(com):
  6. def __init__(self):
  7. super().__init__()
  8. print("B")
  9.  
  10. b = b()
  11.  
  12. def add ( a,b,c=0 ):
  13. print(a*b*c)
  14. add(1,3)
  15. add(1,3,4)
Success #stdin #stdout 0.08s 14196KB
stdin
Standard input is empty
stdout
A
B
0
12