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