Write a program for taking n numbers as arguments in the python function and print they are odd or even.
Write down the full python function.
Answers
Answered by
2
Answer:
Python Code:
num = int(input("Enter a number: ")) mod = num % 2 if mod > 0: print("This is an odd number. ") else: print("This is an even number. ... Enter a number: 5 This is an odd number.
Explanation:
pls mark as brainliest
Similar questions
Social Sciences,
4 months ago
Computer Science,
4 months ago
English,
8 months ago
Accountancy,
1 year ago
Geography,
1 year ago