- 1
Dont u think guys, one if the program showing an output of "True False" in the chapter of recursion is wrong? Well i think so.
Check out the Chapter of Functional Programming to n Python , head to the recursion part, check the last program. I think the output should be- >> False False >> if u get it to be perfect, just notify me pls. N pls do describe how. Thanx!!
2 ответов
+ 4
The first function returns not is_odd(17)
17 is odd, so is_odd(17) is True.
But as the function returns the negation, it actually passes on False.
0
bro, explain further. I think u just made the same point which I mean to be the correct. Just put your answer whether u agree to the output. if yes, why. Don't beat about the bush.