Update inherit02.py

Homework 2