Kumaran Systems interview question

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

Interview Answers

Anonymous

Oct 10, 2018

I have failed here.

Anonymous

Oct 12, 2018

Using array we can write

1

Anonymous

May 30, 2021

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