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 still do not understand when to use .count ... baaackk to W3schools
completely forgot abs.
I like this very much, except I would make capitalize standalone function, because it doesn't depend on the input s.
how it will react to none
.count() is a string method.
to find the methods list of each class(string is a class)
type in python:
dir(string)
it will give you the list of all available methods for that particular class
this is clean but it takes the longest to run the tests out of the other 2 i've tried (both are other popular solutions)
Personally I used CodeCademy to learn the basics and rely on W3Schools to get a reminder of the correct syntax to use when I am not sure. Do not hesitate to Google what you are trying to achieve if you suspect that something already exists to do so in Python's built-in methods. I cannot speak for everyone there but this is what worked best for me so maybe it will suit your learning style as well !
very nice!
Hey it could be worst, i know how to use it and still used it wrong .-.
how do you actually know all of this stuff
Wow
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Just as I clicked submit, I envivisioned (as I usually do) what the one line solution would look like and just as I thought of abs(), here it is. Dammit.
Poor guy, lol
Loading more items...