結果 : what is inheritance explain its types with example in python