Discussions Q&R
Isometric Coordinates
4 Votes
9 RĂ©ponsesJumping Animation
5 Votes
4 RĂ©ponsesGlitchy Collision
5 Votes
15 RĂ©ponsesPendulum broken
2 Votes
3 RĂ©ponsesdef 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 Vote
2 RĂ©ponsesdeclaring
0 Vote
1 RĂ©ponseAujourd'hui en vedette
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Please rate my code from 1 to 10
2 Votes
Suggestions needed
4 Votes
Square Roots
0 Votes
Uuu
1 Votes