+ 1

[Solved]One work, another doesn't

https://code.sololearn.com/cmmsIzk8GF84/?ref=app (not working) https://code.sololearn.com/cYn81ucjA31I/?ref=app One(Second) works, another doesn't why? Seems same way.

12th Nov 2018, 8:01 PM
Roneel
Roneel - avatar
3 Réponses
+ 4
I'll check things more carefully tomorrow. But one probable issue is that in line 17 you're calling progress() with mm-1. But in line 2, you're again dividing it by 10 and subtracting 1.
12th Nov 2018, 8:10 PM
Kishalaya Saha
Kishalaya Saha - avatar
+ 3
Kishalaya Saha this was the error🤔
12th Nov 2018, 8:02 PM
Roneel
Roneel - avatar
+ 3
You are totally right! First and right on😃 I edited it and works now, thanks to you👍 No need to careful watching, just a sight is enough.😄
12th Nov 2018, 8:43 PM
Roneel
Roneel - avatar