+ 1
Can anybody fix my code for the ticket problem, it is in the description.
2 Answers
+ 7
print total after completing the loop. Not inside loop.
+ 3
I tried your code in Pycharm just in case. It is working (just like Jayakrishna said). It just seems that sololearn is bad at handling the input() variable more than once.