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_Wewdnesday_040622.py ===== >>> myDie=Die(6) >>> mydie.getSides() Traceback (most recent call last): File "", line 1, in mydie.getSides() NameError: name 'mydie' is not defined >>> myDie.getSides() 6 >>> myDie.getValue() 1 >>> myDie.toss() >>> myDie.getValue() 4 >>> myDie.toss() >>> myDie.getValue() 6 >>> myDie.toss() >>> myDie.getValue() 3 >>> myDie.toss() >>> myDie.getValue() 5 >>> = RESTART: C:/Users/Bruce Norton/Desktop/emcp_blk_Wewdnesday_040622.py >>> myDie=Die(6) >>> myDie.getSides() 6 >>> myDie.getValue() 1 >>> myDie.getNumRolls() 0 >>> myDie.toss() >>> myDie.getValue() 5 >>> myDie.getNumRolls() 1 >>> myDie.toss() >>> myDie.getNumRolls() 2 >>> myDie.toss() >>> myDie.getNumRolls() 3 >>> myDie.getValue() 6 >>> = RESTART: C:/Users/Bruce Norton/Desktop/emcp_blk_Wewdnesday_040622.py >>> myDuck=Ducky("Donald","Duck","white","male") >>> myDuck.getFirstName() 'Donald' >>> myDuck.getName() 'Donald Duck' >>> myDuck.getColor() 'white' >>> myDuck.getSex() 'male' >>> duckTwo=Ducky("Daffy","Daffy","brown","female") >>> duckTwo.getName() 'Daffy Daffy' >>> = RESTART: C:/Users/Bruce Norton/Desktop/emcp_blk_Wewdnesday_040622.py >>> myDuck=Ducky("Donald","Duck","white","male") >>> duckTwo=Ducky("Daffy","Duck","brown","female") >>> duckTwo.haveBabies() >>> myDuck.haveBabies() Male ducks cannot have babies! >>> duckTwo.getBabies() 3 >>> = RESTART: C:/Users/Bruce Norton/Desktop/emcp_blk_Wewdnesday_040622.py >>> std1=Student("Sally","Thyer","f",2) >>> std2=Student("Bobby","Robinson","m") >>> std1.getStanding() 2 >>> std2.getStanding() 1 >>> = RESTART: C:/Users/Bruce Norton/Desktop/emcp_blk_Wewdnesday_040622.py >>> std1=Student("Sally","Thyer","f",2) >>> std2=Student("Bobby","Robinson","m") >>> std3.Styudent("Alan","Smith") Traceback (most recent call last): File "", line 1, in std3.Styudent("Alan","Smith") NameError: name 'std3' is not defined >>> std3.Student("Alan","Smith") Traceback (most recent call last): File "", line 1, in std3.Student("Alan","Smith") NameError: name 'std3' is not defined >>> std3=Student("Alan","Smith") >>> std1.getStanding() 2 >>> std2.getStanding() 1 >>> std3.getStanding() 1 >>> std2.gender 'm' >>> std3.gender 'f' >>> std4=Student("Kathy","Mullins",4) >>> std4.getStanding() 1 >>> std4.gender 4 >>> std5=Student("Kathy","Mullins",standing=4) >>> std5=getStanding() Traceback (most recent call last): File "", line 1, in std5=getStanding() NameError: name 'getStanding' is not defined >>> std5.getStanding() 4 >>> std5.gender 'f' >>> = RESTART: C:/Users/Bruce Norton/Desktop/emcp_blk_Wewdnesday_040622.py >>> std1=Student("Sally","Thyer","f",2) >>> std2=Student("Bobby","Robinson","m") >>> std3=Student("Alan","Smith") >>> std1.getStanding() Traceback (most recent call last): File "", line 1, in std1.getStanding() File "C:/Users/Bruce Norton/Desktop/emcp_blk_Wewdnesday_040622.py", line 65, in getStanding return classStanding[self.standing-1] NameError: name 'classStanding' is not defined >>> = RESTART: C:/Users/Bruce Norton/Desktop/emcp_blk_Wewdnesday_040622.py >>> std1=Student("Sally","Thyer","f",2) >>> std2=Student("Bobby","Robinson","m") >>> std1.getStanding() 'sophomore' >>> = RESTART: C:/Users/Bruce Norton/Desktop/emcp_blk_Wewdnesday_040622.py >>> std1=Student("Sally","Thyer","f",2) >>> std2=Student("Bobby","Robinson","m") >>> std1.getStanding() 'sophomore' >>> std1.getStanding > >>> std1.getstanding() Traceback (most recent call last): File "", line 1, in std1.getstanding() AttributeError: 'Student' object has no attribute 'getstanding' >>> std1.getStanding() 'sophomore' >>> std2.getStanding() 'freshman' >>> = RESTART: C:/Users/Bruce Norton/Desktop/emcp_blk_Wewdnesday_040622.py >>> std1=Student("Sally","Thyer","f",2) >>> std2=Student("Bobby","Robinson","m") >>> std1.getID() 1 >>> std2.getID() 2 >>>