-1
Here's a method which returns a method which each time called returns the next fibonacci number (0, 1, 1, 2, 3, 5, ...).
def make_fib():
j, k = 0, 1
def fib():
nonlocal j, k
result = j
j, k = k, j+k
return result
return fib
While the above works fine, if I break the inline assi...