function problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

function problem

when you press the button, it knocks out an error, help solve https://code.sololearn.com/W6COOFq0D4TO/?ref=app

29th Jun 2020, 8:47 AM
Aparty
Aparty - avatar
6 Answers
+ 1
LOID GAME what is this code supposed to do?
29th Jun 2020, 10:05 AM
Bono
Bono - avatar
+ 1
I solved the problem, thanks for the help, here is the solution: https://code.sololearn.com/WrNxLwmJ08k5/?ref=app
29th Jun 2020, 11:08 AM
Aparty
Aparty - avatar
0
Now it won't show errors with l() and r(); https://code.sololearn.com/WuHjrLP5LyLz/?ref=app
29th Jun 2020, 9:44 AM
Bono
Bono - avatar
0
this is not exactly what I need, it is necessary so that when the button is pressed, the function is executed
29th Jun 2020, 9:48 AM
Aparty
Aparty - avatar
0
this is a game, and when the button is pressed, the function should
29th Jun 2020, 10:13 AM
Aparty
Aparty - avatar
0
I don't understand what is the function doing exactly so i can't help you to finish the entire game, but I guess that this can give an idea about you should do https://code.sololearn.com/WaWIi07JUFYL/?ref=app
29th Jun 2020, 10:22 AM
Bono
Bono - avatar