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.
just baslic if else condistionals..
This comment is hidden because it contains spoiler information about the solution
Another one where I took the scenic route to arrive at the solution LOL.
This comment is hidden because it contains spoiler information about the solution
For all we know user can enter 1000000. But kata got clear constraints
1 <= month <= 12
.Most of the answers that I see are not correct, because they do not take into account that the user can enter data for the month numbered 0 or 13! For example, if you use the Math.ceil, then month 13 refers to quarter 5!
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
should be 7 kyu for SQL, unlike Python no math lib in it
you gotta type conditions manually
I didn't know about counter but now I do. Thanks for sharing your brilliant 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
thanks for correcting it
that was my mistake sorry...!
If month is 3 your code returns it's the 2nd quarter, that's wrong. It's your code's problem, not the platform.
Loading more items...