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.
Your code doesn't work with big numbers. It returns true for this: 4835703278458516698824706 and 282 is 4835703278458516698824704 instead. See this
This comment is hidden because it contains spoiler information about the solution
Broken how? It worked for me.
I think this Kata is broken for Python mmmmmmm
Lol i relied on luck
No prob :)
ah ok thanks!
Instead of making such long wall of
if
statements you could just create a tuple of months, then look for index of month from current_date and expiration_date in this tuple and replace this month with index number.For instance:
I think this way would be easier and less backbreaking.
Ah ok. Thank you!
It's good to see an explanation given when retiring a kata.
Hi,
If you're interested in authoring more kata, you might want to read this documentation, so that you get a better idea about what's expected (or not) for the beta process.
for instance:
Cheers
duplicate: https://www.codewars.com/kata/55a14f75ceda999ced000048
Same
This comment is hidden because it contains spoiler information about the solution