RosettaCodeData/Task/Currying/Python/currying-1.py

5 lines
73 B
Python

def addN(n):
def adder(x):
return x + n
return adder