Advertisement
user_137

Untitled

Sep 16th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. def f(x):
  2.     if x == 0:
  3.         return 1000
  4.     else:
  5.         print('going in', x)
  6.         ans = f(x - 1)
  7.         print('coming out', x)
  8.         return ans
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement