Last active
March 3, 2021 02:40
-
-
Save un-ro/59f2450e6278af5ebe4b05e0c06e47db to your computer and use it in GitHub Desktop.
GOD DAMN RECURSION
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Fix: RecursionError | |
| def foo(x): | |
| if(x < 1): | |
| print("Done") | |
| else: | |
| foo(x-1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment