How to chek even and odd without modules operator and any condition?

there are 2 ways to do the same.

1.

a =

if(a&1==1):

print(“This Number is Odd”)

else:

print(“This Number is Even”)

x=int(number/2)*2;

if(x==number):

print(“This Number is Even”)

else:

print(“This Number is Odd”)

by this 2 methods you can find if number is Odd or Even.