結果 : explain inheritance in python with types and examples