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.
Thanks! I'm fairly new to programming and have only used Python 2 so that'll be why :D
I had the same problem. The problem is with the range(1,10) bit.
If you replace that with list(range(1,10)) or [1,2,3,4,5,6,7,8,9] it should work!
because range is a generator (in py 3), so you should have used
list(range...) == [...]
I figured it out...
Does anybody know why range(1,10) is not considered to be the same as [1,2,3,4,5,6,7,8,9]?
When I run my code in Powershell it passes the test cases, giving the expected responses.
But when I try to run tests in the console it tells me I'm getting 'Try again' instead of 'Finished' D:
Any advice?
I have the same problem in Python!
On my computer my code returns 9991 with the corresponding values, but on here it's returning []