Guest User

Untitled

a guest
May 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. def sf(x, y):
  2.     "Returns (a, y) instead of a."
  3.     if(x > 1):
  4.         a, y = sf(x - 1, y)
  5.         b = y
  6.         return (y + b, x) # return "a, y"; y = x
  7.     else:
  8.         return (1, 0)
Add Comment
Please, Sign In to add comment