diff --git a/1.py b/1.py index 34f2216..e69de29 100644 --- a/1.py +++ b/1.py @@ -1,6 +0,0 @@ -def func(num): - if num == 1: - return 1 - print(num-1) - return num + func(num-1) -print(func(10) ) \ No newline at end of file