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.
Save your code locally, make sure you have the latest language version selected (Python 3.8), push
reset
at the bottom page and it should fix the issue.I don't know much about python, but is it possible you renamed your function?
No problem, and try refactoring your code, you could use
i
directly and don't needcurrent
andb
.The loop works ok, that's not the problem.
=+
should be+=
instead.