☑Kizspy.me
•
Keys: Credit hour values (e.g., 2, 3, 4).
Values: A list of Course Registration objects that have that specific
number of credit hours.
Call the function using the courses list.
Iterate through the returned dictionary and print the courses in the following format:
CreditHours: [Credit Hour Value]
- [CourseID]-[CourseName], [Instructor], [Department], [CreditHours] credits
- [CourseID]-[CourseName], [Instructor], [Department], [CreditHours] credits
CreditHours: 3
- C101 - IntroToAI, Dr. Smith, CS, 3 credits
- C105 - DataStructures, Dr. Taylor, CS, 3 credits
- C107 - Linear Algebra, Dr.Green, Math, 3 credits
- C109 - Philosophy, Dr.Gray, Arts, 3 credits
Zoom
+ 100%
Close