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 looks so elegant! Yet to be honest I somehow can't comprehend how did that work!
fajne, dobrze :) Zrobiłem to podobnie... I mean I did similar, but without using split(). String.index() was useful here.
This solution is like "Italian strike" - when workers do only and very literally what they are exactly told to.
Not too easy, not hard at all 😉
"If the first day of the month is a Friday (...)"
Suggested with this sentence I made a code that found all the months that starts with friday.
And it does not pass any of the tests.
for example April 2016 starts with friday so it was counted by my code but it does not count by the test cause it doesn't have 5 full weekends...
... oh i get it now! Came up with the solution as I was writing this comment.
Yeah! that is what makes me angry about this exercise.
Tried to include that with my code, used conditional check with str.endswith().