How to correct errors in inputs | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
29th Oct 2022, 8:27 PM
Prince Masango
2 Answers
+ 1
Prince Masango I gave an answer in the discussion you mentioned.
30th Oct 2022, 1:40 AM
Solo
Solo - avatar
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
29th Oct 2022, 10:07 PM
SoloProg
SoloProg - avatar