Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I also write the same code with different names, but everytime I get unexpected EOF while parsing error. But the code is working on PyCharm. How can I pass correct this error?
Sorry about the confusion on issue vs question!
Thank you very much both of you for your help, I will check it again!
There are lots of error in else condition.
ISSUE
's are for reporting the kata itself as wrong. Since this is about your code, it should be aQUESTION
.I suggest reading the error message that you are getting, since it says where this happens and it says what things are involved, all the information you need is in that error message.
Converting to string using
str
and concatenating with+
is often very unwieldy, after figuring out the bug you might want to check out f string literals or str.format.This comment is hidden because it contains spoiler information about the solution