Math, asked by Srijansingh237, 11 hours ago

WAP to check whether the number is odd or even and positive or negative in python

Attachments:

Answers

Answered by manasijena8679
13

Srijan, mujhe Kuch puchna hai tumse

Silly yet important

So can you come to that app

Answered by nitinsinghb552
6

Answer:

hey dude!

Python Program to Check if a Number is Odd or Even

1. num = int(input("Enter a number: "))

2. if (num % 2) == 0:

3. print("{0} is Even number". format(num))

4. else:

5. print("{0} is Odd number". format(num))

Similar questions