PFP191_PE1_SU2025_4099.webp
T

PFP191_PE1_SU2025_4099.webp

Bài viết gốc: Chủ đề 'PFP191_PE1_SU2025'
☑Kizspy.me
Call the function load_course_data (course_data.txt)
Store the returned list in a variable courses and print its content.
Question 3: Find the Course with Highest Credit Hours (2 Marks)
Write a function find_highest_credit_course (courses):
。 Identifies the course with the highest number of credit hours.
Prints the course's details.
o
⚫ Call the function using the course list.
Question 4: Group and Print Courses by Credit Hours (3 Marks)
Write a function group_courses_by_credit_hours (courses):
。 Groups the Course Registration objects by their_credit_hours.
о Returns a dictionary where:
Zoom
+ 100%
Keys: Credit hour values (e.g., 2, 3, 4).
Values: A list of CourseRegistration objects that have that specific
number of credit hours.
Close
Chưa có bình luận nào.

Thông tin

Category
PFP191
Thêm bởi
ThuyPhuong86
Ngày thêm
Lượt xem
1,971
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom