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've made a fix for python 3.6. This kata should work now fine!
All gen.next() are replaced by next(gen)
Good luck!
Maybe its your puzzle function causing the trouble?
python 3.x uses different usage of next().
getting error on python 3 - 'getting generator object has no attribute next'
This comment is hidden because it contains spoiler information about the solution
Force of habit, it would be nice if it worked.
Fixed.
@Chrono79 You know there are no @-mentions on CW, right?..
Fixed.
The tests should be updated, using lists and ranges leads to an inconsistency in the passed data types.
@Unnamed Could you check learner1205's post and see if you should wrap the range with list in the tests? Or is it a problem of his/her code?
Wrapping the range with a list seems to work. Maybe that should be done in the tests directly.
index error when using python 3.6 in testcase with Range()
switching to python 2 seems to remove it