Posts by Leidenschaft • 3 points
1 post
-
0
votes1
answer127
viewsQ: Recursion Problem in Python
It’s my first question here, so I’ll be brief: I’m having trouble with the code below: def nat(n): if n == 50: return 0 else: return nat(n+1) print(nat(1)) Turns out it’s a recursive question in…
pythonasked Leidenschaft 3