12th Jul 2020, 5:31 PM
Oma Falk
Oma Falk - avatar
9 Antworten
+ 7
def addfinkeln3(x,y,z): d=lambda x1,y1,z1:z1+y1+x1 return d(x,y,z) print( addfinkeln3(1,2,3))
12th Jul 2020, 5:57 PM
boolean
boolean - avatar
+ 4
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 yes...a bit...it debugs my prog. But why was it syntactically correct?
12th Jul 2020, 6:21 PM
Oma Falk
Oma Falk - avatar
+ 3
boolean not what I wanted. I wanted to break into functions with one argument
12th Jul 2020, 6:07 PM
Oma Falk
Oma Falk - avatar
+ 3
def addcurrying(x): return lambda y: lambda z:x+y+z x = addcurrying(4) print(x(2)(1))
14th Jul 2020, 6:11 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 2
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 that's it! But it is still not currying. Anyways: I don't see any sense in python currying
12th Jul 2020, 6:16 PM
Oma Falk
Oma Falk - avatar
+ 1
Done buddy you were passing string argument ,tested with integer arguments https://code.sololearn.com/cLAvxYLSho1I/?ref=app
14th Jul 2020, 9:46 AM
murty pradeep
murty pradeep - avatar
+ 1
It was correct before because functions are first class citizens in python
10th Aug 2020, 7:51 PM
Zachiah sawyer
Zachiah sawyer - avatar