cs/practical-file/questions/question_05.py
2025-06-24 02:37:47 +05:30

9 lines
208 B
Python

# Question: Write a Python program to find whether a given number is even or odd.
def main(num: int) -> None:
print("Even" if num % 2 == 0 else "Odd")
if __name__ == '__main__':
main(2)
main(3)