Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:59:51) [MSC v.1928 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> ======= RESTART: C:\Users\Bruce Norton\Desktop\emcp_blk_Friday_040822b.py ====== >>> hgsPer1=HGSperson("Sally","Scott") >>> per1=Person("Thomas","Buckman") >>> per1.getName() 'Buckman, Thomas' >>> hgsPer1.getName() 'Sally Scott' >>> herPer1.getLast() Traceback (most recent call last): File "", line 1, in herPer1.getLast() NameError: name 'herPer1' is not defined >>> hgsPer1.getFirst() 'Sally' >>> ======= RESTART: C:\Users\Bruce Norton\Desktop\emcp_blk_Friday_040822b.py ====== >>> std1=Student("Stan","Mullins") >>> std1.getID() 1 >>> std1.getName() 'Stan Mullins' >>> std1.introduction() 'Hi. My name is Stan. I am a student at HGS.' >>> std1.getYear() 'freshman' >>> std1.advanceYear() >>> std1.getYear() 'sophomore' >>> std2=Student("Wanda","Bell",year=3) >>> std2.getYear() 'junior' >>> std2.advanceYear() >>> std2.getYear() 'senior' >>> std2.advanceYear() >>> std2.getYear() 'senior' >>> std2.saySomething() 'Hi. My Name is Wanda.' >>> ======= RESTART: C:\Users\Bruce Norton\Desktop\emcp_blk_Friday_040822b.py ====== >>> std1=Student("Stan","Mullins") >>> std2=Student("Wanda","Bell",year=3) >>> std2.saySomething("Glad to see you in class",std1) 'Hey Stan. Glad to see you in class.' >>> per1=HGSperson("Billy","Ray") >>> per1.saySomething() 'Hi. My Name is Billy.' >>> print(per1) HGS Person: Ray,Billy >>> print(std1) HGS Person: Mullins,Stan >>> per1.getYear() Traceback (most recent call last): File "", line 1, in per1.getYear() AttributeError: 'HGSperson' object has no attribute 'getYear' >>> ======= RESTART: C:\Users\Bruce Norton\Desktop\emcp_blk_Friday_040822b.py ====== >>>