Here you may get a python program to ascertain variety is odd or maybe.

A number is although it’s fully separable by two otherwise it is odd.

Code

```
num = int(input("enter a number: "))
if(num%2 == 0):
print("number is even")
else:
print("number is odd")
```

Output

```
enter a number: 11
number is odd
```

The modulus cistron is employed to seek out the rest of any variety. thus here we’ll use it to divide variety by two and notice the rest. If remainder is zero then variety is even otherwise odd.

Comment below if you have got any queries associated with on top of python odd-even program