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.
That makes a lot of sense! Thanks :)
It means that the diference between the biggest gap and the shortest gap in the line can't be bigger than 1;
Example:
I'm slightly confused by the wording of the instruction - 'Gaps between words should not differ by more than one space', does that mean 3 spaces is the limit? I can't wrap my head around it! Thanks!
An easier way to build your dictionary may be to loop through all uppercase letters and then get their count from s using s.count(letter) - this way you don't have to worry about sorting and building the count yourself. You could use a dictionary comprehension here too!
This comment is hidden because it contains spoiler information about the solution
Yeah that will also work. Thanks for the tip :)
Yeah that will also work. Thanks for the tip :)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
And now somehow it works!
Loading more items...