1 import A 2 3 print A # A 4 print A.C # B.C 5 print A.C() # <B.C instance> 6 print A.h # A.h 7 8 print A.h(A.C()) # 1 9 print A.h(A.D()) # 3 10 11 from B import E 12 13 print A.h(E()) # 2