9/17/2019 2:01:35 AM
Check this code it will help you.basically i modified your code according to your need.
Amd actually this code work perfectly on offline ide on your computer the reason behind it gives EOF error because our code is interpret in sololearn servers that's why it require all inputs at the same time.
Try on pc it will work perfectly.
Amd you can also try Pydroid3 for python codes.which also offline android type ide. available on play store in free.
Great. But the. Modified code enters an EOF Error
GET THE FREE APP
Learn Playing. Play Learning
Send us a message