結果 : illustrate various types of inheritance in python with code