EVEN(V)

RETOURNE 1 SI V EST PAIR, 0 SINON



ACTION

La fonction EVEN(V) retourne 1 si V est pair, 0 sinon.

V est un entier.


SYNTAXE : Resultat=EVEN(V)


UTILISATION


ERREUR


EXEMPLE

print even(2)

print "Résultat = 1"


EN RAPPORT

ODD()


Content created by Jack. Updated March 07, 2025