0
Write a function compose(t,u) ( like tou or (t(u(x))) in maths )
help .. Python
5 odpowiedzi
+ 2
Like this?
def compose(t,u, x):
o= u(x)
return t(o)
+ 2
Gordie Yes... I didnt noticed
0
but in the last return . . i think we should return t(x) ??
0
Not... t get the output of u like input, and this is stored on "o" var 😉