0

Why is answer 0112 in this code?

Please explain https://code.sololearn.com/cockAzrEQU70/?ref=app

9th Mar 2020, 7:24 PM
Arsen Barseghyan
Arsen Barseghyan - avatar
4 Réponses
+ 2
What is your goal? The x and y is overwritten in the for loops so it is not used. Your function always prints 0112 because the for loops are always the same not depending on the input
9th Mar 2020, 7:46 PM
Jnn
Jnn - avatar
0
The x and y in the loop are not the same as that pass to the function
9th Mar 2020, 7:29 PM
✳AsterisK✳
✳AsterisK✳ - avatar
0
Hiw i can input this answer to game in sololearn?
9th Mar 2020, 8:20 PM
Arsen Barseghyan
Arsen Barseghyan - avatar
0
Sry i dont understand what you want to do
10th Mar 2020, 12:19 AM
Jnn
Jnn - avatar