Question d’entretien chez Kumaran Systems

how to write even or odd program without if else statement.

Réponses aux questions d'entretien

Utilisateur anonyme

10 oct. 2018

I have failed here.

Utilisateur anonyme

12 oct. 2018

Using array we can write

1

Utilisateur anonyme

30 mai 2021

def isEven(num): return num%2?"Even":"Odd"