ConvertQCM/C3/codes/q33_35.py
2025-08-26 18:58:56 +02:00

10 lines
No EOL
272 B
Python

relevé = [{'matière':'EPS','moyenne':11},
{'matière':'Sciences','moyenne':6},
{'matière':'LV1','moyenne':14},
{'matière':'Histoire','moyenne':9},
{'matière':'LV2','moyenne':15}]
a = ......
b = ......
for i in relevé :
if i[a] > 10:
print(i[b])