0

Does anyone have an idea why isn’t it working??

Help me I can’t get a hack why it gives NaN... https://code.sololearn.com/WgkZsYQ9KIFy/?ref=app

4th Oct 2018, 6:16 PM
Никита Шиляев
Никита Шиляев - avatar
3 ответов
+ 3
Change all =+ to +=
4th Oct 2018, 6:20 PM
Anna
Anna - avatar
+ 5
Only if you didn't understood what @anna said. https://code.sololearn.com/WkZU2vQ6Ku66/?ref=app
4th Oct 2018, 8:07 PM
Roneel
Roneel - avatar
0
Thank you so much guys!
6th Oct 2018, 8:37 AM
Никита Шиляев
Никита Шиляев - avatar