mirror of
https://github.com/satwikkansal/wtfpython
synced 2024-11-24 12:04:24 +01:00
commit
bb8ce63f68
10
README.md
vendored
10
README.md
vendored
@ -2569,17 +2569,17 @@ None
|
||||
```py
|
||||
def some_recursive_func(a):
|
||||
if a[0] == 0:
|
||||
return
|
||||
return
|
||||
a[0] -= 1
|
||||
some_recursive_func(a)
|
||||
return a
|
||||
|
||||
def similar_recursive_func(a):
|
||||
if a == 0:
|
||||
return a
|
||||
a -= 1
|
||||
similar_recursive_func(a)
|
||||
if a == 0:
|
||||
return a
|
||||
a -= 1
|
||||
similar_recursive_func(a)
|
||||
return a
|
||||
```
|
||||
|
||||
**Output:**
|
||||
|
Loading…
Reference in New Issue
Block a user