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
This comment is hidden because it contains spoiler information about the solution
it happens!
This comment is hidden because it contains spoiler information about the solution
You shouldn't call dunder methods directly but use the proper API method instead.
smart
This comment is hidden because it contains spoiler information about the solution
woah I forgot you could do this!
Wonderful
ugh that looks so satisfying, i love to try and make all my code as compact as possible. how did i not think of this?!?
This comment is hidden because it contains spoiler information about the solution
one line alert
Hey, that's how we learn. I did that too
I agree with both, but for people who are still learning python as they go, a little naming readability on the solution goes a long way.
i and c are quite straightforward though?
i = index, which has always been a convention
c = character, which is quite obvious when you look at str(n)
It isn't as big of a deal as you make it out to be, this is about problem solving, not about following pep8 or any naming conventions.
If it was a software then I would 100% agree with you.
Loading more items...