Move python question files to 'questions' directory Move output files to 'outputs' directory Copy output files to 'questions' for ease of viewing Signed-off-by: Neil <neil@willofsteel.me>
9 lines
208 B
Python
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)
|