❓ Quiz Python
Regarde ce code attentivement. Quelle est la valeur retournée ?
PYTHONDebutantfonctions
20
quiz.py
1
def mystery(x):2
if x % 2 == 0:3
return 'pair'4
return 'impair'5
6
print(mystery(7))