-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathgrab.py
More file actions
42 lines (37 loc) · 754 Bytes
/
grab.py
File metadata and controls
42 lines (37 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
courses = {
"MIS4012": {
"course_name": "E-COMMERCE, E-GOVERNANCE & E-SERIES",
"credit": 3,
"prerequisites": [
"CSC3215"
]
},
"EEE3103": {
"course_name": "DIGITAL SIGNAL PROCESSING",
"credit": 3,
"prerequisites": [
"EEE2213"
]
},
"EEE4217": {
"course_name": "VLSI CIRCUIT DESIGN",
"credit": 3,
"prerequisites": [
"EEE4241",
"EEE4242"
]
}
}
completed = {
"EEE3102": {
"grade": "A"
},
"EEE2213": {
"grade": "A"
},
"EEE4241": {
"grade": "A"
},
}
print("EEE4241" in completed)
#if all of EEE4217 prerequisites meets the completed courses