'''lecture_31_csstudent.py Show inheritance with the CSStudent (child class) that inherits from ColbyStudent (parent class) TODO: - Discuss which methods are defined in symbol tables for ColbyStudent, CSStudent - Discuss which IVs are defined in symbol table for CSStudent object Oliver W. Layton CS 151: Computational Thinking: Visual Media Spring 2021 ''' from lecture_31_colbystudent import ColbyStudent class CSStudent(ColbyStudent): def __init__(self, name, year, favLang): pass def getFavLang(self): pass def setFavLang(self, lang): pass def printGrades(self): '''Prints a CSStudent's grade on a 30 point scale AND on a 100 point scale''' pass if __name__ == '__main__': colbyStu = ColbyStudent('Jane', 2022) csStu = CSStudent('Jim', 2024, 'Python') # print('CS Student fav language:', csStu.getFavLang()) # print('Colby Student fav language:', colbyStu.getFavLang()) # csStu.addGrade(80) # csStu.addGrade(90) # csStu.addGrade(100) # print('Grades:') # csStu.printGrades()