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.
This comment is hidden because it contains spoiler information about the solution
Sure thing.
I'm not sure I understand your question. For one thing, in Python a list is an object (practically everything is an object in Python) so I don't understand this objection. As far as how this works, all it does is call the "range" function:
https://docs.python.org/2/library/functions.html#range
Have you tried reading the relevant documentation? If so, maybe you could say a little bit more about what you find confusing. You could also try asking for help on the Codewars gitter:
https://gitter.im/Codewars/codewars.com/kata-solving-help
Another silly mistake on my part - should be fixed now. Thanks!
Thank you for the supportive comment and for the feedback! I've removed the
close_it()
function from the example tests (copy-paste error!) and I've updated the description to explicitly mention newlines.Yup - fixed. Thanks for the feedback!
This comment is hidden because it contains spoiler information about the solution
Cool. Thanks!
Seconded.
I was able to figure out what this kata was about by looking at the test output, but I found the wording of the question to be very unclear. In particular I don't understand what 'replace at 0' means in this context. I would write something like this:
I did! I ranked and voted!
Fun problem! This is super unimportant, but you might want to consider naming the variable
theta
instead oftheata
.This comment is hidden because it contains spoiler information about the solution
This problem times out even when I just hardcode the solutions for the first few tests, e.g. the following has timed out:
That can't be right, can it?
This comment is hidden because it contains spoiler information about the solution
Loading more items...