ODD(V)

RETOURNE 1 SI V EST IMPAIR, 0 SINON



ACTION

La fonction ODD(V) retourne 1 si V est impair, 0 sinon.

V est un entier.


SYNTAXE : Resultat=ODD(V)


UTILISATION


ERREUR


EXEMPLE

print odd(3)

print "Résultat = 1"


EN RAPPORT

EVEN()


Content created by Jack. Updated March 07, 2025