1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-11-24 12:04:24 +01:00

Merge pull request #237 from imba-tjd/patch-3

fix indentation
This commit is contained in:
Satwik Kansal 2020-10-27 13:50:27 +05:30 committed by GitHub
commit bb8ce63f68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
README.md vendored
View File

@ -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:**