by CodeChum Admin
Well, that's odd, or is it? It's your job to find out!
Instructions:
Input
A line containing an integer
5
Output
The first line contains the inputted integer.
The second line contains a string which is the result.
5
Odd
number = int(input('Enter number: '))
if number%2 == 0:
print(f'{number} \nEven')
else:
print(f'{number} \nOdd')
Comments
Leave a comment