Finish get_valid_courses

This commit is contained in:
MstrPikachu
2021-10-03 16:05:00 -04:00
parent 2c5ce4a229
commit 3bdcc7e36d
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -248,6 +248,7 @@ def is_section_compatible(schedule: dict[str, tuple[str, str, tuple]],
- section matches the format for a section described by the assignment handout.
- schedule matches the format for a schedule described by the assignment handout.
"""
return [not sections_conflict(section, s) for s in schedule.values]
def is_course_compatible(schedule: dict[str, tuple[str, str, tuple]],