結果 : explain inheritance and its types in python with an example