Domanda di colloquio di Kumaran Systems

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

Risposte di colloquio

Anonimo

10 ott 2018

I have failed here.

Anonimo

12 ott 2018

Using array we can write

1

Anonimo

30 mag 2021

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