← Retour
1 / 13
Fonctions
⏱ 20s
Que retourne cette fonction ?
def mystery(x):
if x % 2 == 0:
return 'pair'
return 'impair'
print(mystery(7))def mystery(x):
if x % 2 == 0:
return 'pair'
return 'impair'
print(mystery(7))