Sesiones de PyR
4th Question
0 Votos
2 RespuestasHappy 4th of July!
2 Votos
1 RespuestaThe 4th Creator Master
7 Votos
1 Respuestadef add(x, y):
return x + y
def do_twice(func, x, y):
return func(func(x, y), func(x, y))
a = 5
b = 10
print(do_twice(add, a, b))
Please explain step by step
Which is caller here?
Explain the 3rd and 4th line ?
why in 4th line we write add(add(x,y),add(x,y)) which is function of 1st line ?
how can we write function after return statement insted of (x+y+x+y )=30?
0 Votos
2 RespuestasEn tendencia hoy
Project ideas
1 Votes
Hi help me I am new
1 Votes
How do I solve all test cases for popsicles problem?https://www.sololearn.com/coach/3?ref=app
0 Votes
Where can I learn c#
0 Votes
practising daily
0 Votes
Deep learning
0 Votes
Question to sololearn
1 Votes
Backend Hosting Service
0 Votes