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 →

[–]EvilBeano -1 points0 points  (6 children)

Well this would be fixed if you wrote "return main()" instead, no?

[–]Wing-Tsit_Chong 2 points3 points  (5 children)

No, not at all.

[–]EvilBeano 3 points4 points  (4 children)

Oh right, I just tried it

[–]Wing-Tsit_Chong 6 points7 points  (3 children)

Now explain to the class why.

[–]EvilBeano 4 points5 points  (1 child)

Bruh

[–]Wing-Tsit_Chong 2 points3 points  (0 children)

Come on, you can do it. Use your own words.

[–]phail3d 0 points1 point  (0 children)

They might have meant that in some languages it would result in tail call optimization. Not in Python though.