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.
If
numbers
contains duplicate values,.index()
will always return the index of the first occurance, messing up your results. There are easier ways to keep track of indexes with built-ins in Python.This comment is hidden because it contains spoiler information about the solution
Changed inner
@describe
to@it
and add some fixed tests to submission tests.Tests are structured in an incorrect way:
@it
. Assertions inside of@describe
are not valid. Most probably you should change the inner@describe
to@it
.Thanks :D
already fix it
It's simular, but not duplicate.
On these 12 sample tests on python it says "Not right". Is this supposed to be in this kata?
Ok Thanks
This is literally what this challenge asks you to figure out :)
You can try to write some small values on paper and see if some patterns emerge.
This comment is hidden because it contains spoiler information about the solution