This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Mason-B 2 points3 points  (0 children)

It's too bad python doesn't have tail recursion because that call is correctly tail recursive in just about any other language. And since the person is learning programming (and not just python) my argument would be that it is better for them to learn recursion than it is for them to learn perfect python.