mirror of
https://github.com/satwikkansal/wtfpython
synced 2024-11-22 02:54:25 +01:00
fix indentation
This commit is contained in:
parent
f082e9f22a
commit
ac63a4fb3a
10
README.md
vendored
10
README.md
vendored
@ -2569,17 +2569,17 @@ None
|
|||||||
```py
|
```py
|
||||||
def some_recursive_func(a):
|
def some_recursive_func(a):
|
||||||
if a[0] == 0:
|
if a[0] == 0:
|
||||||
return
|
return
|
||||||
a[0] -= 1
|
a[0] -= 1
|
||||||
some_recursive_func(a)
|
some_recursive_func(a)
|
||||||
return a
|
return a
|
||||||
|
|
||||||
def similar_recursive_func(a):
|
def similar_recursive_func(a):
|
||||||
if a == 0:
|
if a == 0:
|
||||||
return a
|
|
||||||
a -= 1
|
|
||||||
similar_recursive_func(a)
|
|
||||||
return a
|
return a
|
||||||
|
a -= 1
|
||||||
|
similar_recursive_func(a)
|
||||||
|
return a
|
||||||
```
|
```
|
||||||
|
|
||||||
**Output:**
|
**Output:**
|
||||||
|
Loading…
Reference in New Issue
Block a user