+ 1
What is the problem with this code
2 Respostas
+ 1
First of all we cannot see your code there. The best way is to save your code on SL Playground, test with a few inputs and see how it really works. For better overview you can build in additional print statements in different positions in the code. After your code works as requested you can test it in code coach.
Otherwise this will help you if you like:
https://code.sololearn.com/cOjvkbJvYPg2/?ref=app
0
I ask the same
https://code.sololearn.com/cMEZ7rh1NhvN/?ref=app