0

Write a python program to check whether the given number is even or odd using function

https://code.sololearn.com/cbbFAFtHjc87/?ref=app

16th May 2020, 4:49 PM
Legends Feelings
Legends Feelings - avatar
2 Respuestas
+ 5
Hello Legends Feelings Your code is correct. You only need to call your function. EvenOddTest(7) But you can also add user input.
16th May 2020, 4:52 PM
Denise Roßberg
Denise Roßberg - avatar
0
It's correct my friend. but if you want to show the result, you'll have to add the following: ``` EvenOddTest(some number here) ``` Or you can let the user input: ``` num = int(input('Please enter an int here:') EvenOddTest(num)
17th May 2020, 7:35 AM
Peng Chen