Curry_Function

Run Settings
LanguagePython
Language Version
Run Command
def f(a1,a2,a3): return a1*a2*a3 def f1(a1): def f2(a2): def f3(a3): return f(a1,a2,a3) return f3 return f2 for i in range(1,10): print(f(i,i+1,i+2), f1(i)(i+1)(i+2)) def f1(state_tax, city_tax, income): return (state_tax*income)+(city_tax*income) def f1(state_tax=0.15): def f2(city_tax=0.1): def f3(income): return f(state_tax, city_tax, income) return f3 return f2 print(f1(0.2)()(100))
Editor Settings
Theme
Key bindings
Full width
Lines