1.

Find whether the given number is odd or even

Answer» a=int(input"enter the number")If a%2==0: Print ("a,is even")Else: Print("a,is odd")<br>a=int(input"enter the number")If a%2==0: Print ("a,is even")Else: Print("a,is odd")


Discussion

No Comment Found