2022-2023/1NSI/Evaluations/DS_2023-01-09/annexes/QCM_if.py

11 lines
168 B
Python

a = 3
b = 4
if a > b and a == 3:
print('vert')
if a > b and b == 4:
print('rouge')
if a == 4 or b > a:
print('bleu')
if a == 3 or a < b:
print('jaune')