1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-11-22 02:54:25 +01:00

fix indentation

This commit is contained in:
谭九鼎 2020-10-27 12:19:37 +08:00 committed by GitHub
parent f082e9f22a
commit ac63a4fb3a
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 ```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:**