Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f082e9f + ac63a4f commit bb8ce63Copy full SHA for bb8ce63
README.md
@@ -2569,17 +2569,17 @@ None
2569
```py
2570
def some_recursive_func(a):
2571
if a[0] == 0:
2572
- return
+ return
2573
a[0] -= 1
2574
some_recursive_func(a)
2575
return a
2576
2577
def similar_recursive_func(a):
2578
- if a == 0:
2579
- return a
2580
- a -= 1
2581
- similar_recursive_func(a)
+ if a == 0:
2582
+ a -= 1
+ similar_recursive_func(a)
+ return a
2583
```
2584
2585
**Output:**
0 commit comments