0
How to correct errors in inputs
2 Respuestas
+ 1
Prince Masango I gave an answer in the discussion you mentioned.
0
def isEven(x):
return x%2==0
def isOdd(x):
return x%2==1
n = 9
print(f"isOdd({n}) : ", isOdd(n), f"\t isEven({n}) : ", isEven(n))
https://www.sololearn.com/compiler-playground/cuZVJ67TP0eX