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