- Main S1 Undergraduate Jane Dif Name S1 Enroll In Classes Introduction To Programming With Python S2 Graduate 1 (80.06 KiB) Viewed 29 times
main s1 = Undergraduate("Jane") Dif name, s1.enroll_in_classes ("Introduction to Programming with Python") s2 Graduate (
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
main s1 = Undergraduate("Jane") Dif name, s1.enroll_in_classes ("Introduction to Programming with Python") s2 Graduate (
main s1 = Undergraduate("Jane") Dif name, s1.enroll_in_classes ("Introduction to Programming with Python") s2 Graduate ("Bob") = s2.enroll_in_classes ("Introduction to Social Work") s3 = Undergraduate("Carly") s3.enroll_in_classes ("Introduction to Programming with Python") s3.enroll_in_classes ("Introduction to Social Work") t1 = Faculty ("Pamela") t2 = Faculty("Julia") t1.classes_taught ("Introduction to Programming with Python") to Programming with C/C++") t2.classes_taught ("Introduction to Social Work") list_of_professors [t1, t2] t1.classes_taught("Introduction find_professors (s1, list_of_professors) find professors (s2, list_of_professors) find_professors (s3, list_of_professors) Jane is taking Introduction to Programming with Python with Pamela Bob is taking Introduction to Social Work with Julia Carly is taking Introduction to Programming with Python with Pamela Carly is taking Introduction to Social Work with Julia Additionally, in your code, make Jane a freshman and give her a GPA of 3.2. Make Carly a sophomore with a GPA of 3.7. Give Bob a 3.4 GPA and make his undergraduate institution Bellarmine. Set Pamela's office to be Duthie 224 and set Julia's office to be Sacket 309. For each Cardinal, choose one more attribute from the Cardinal or Student class to set (mailing address, home address, etc). I will not provide code for this... it is up to you to provide this in your code.