First image is broken.
which one as from my point of view they are absolutely fine?
i think one sample test case is wrong
omg, i couldn't think a way to do it with mod operator. I just used cycle to get the value :,(
Coding by randomizing, add one here, sub one there, Ooo! Test passes -> commit. Adsolutely my style :D
Thanks @Tototo. You beat me to this response.
you just explained why youre wrong
this is ptyhon. Meaning this is by design. Meaning this is perfectly correct...
This comment is hidden because it contains spoiler information about the solution
I absolutely agree. As a beginner I had no idea what author wants me to do in this Kata and where data of the current day is stored for comparison.
Even after visiting your link i still had no idea how much in depth author wanted to go into comparison (hours? milliseconds since 1970?) given his statement that comparison should not be limited to day.
Very much agree. Especially clarifying what specifically we're asking the coder to verify in terms of "date is today or not"
Also referring to something specific like the date object, which I'd recommend a link to, at the minimum:
And since 6m is greater than 2*2.77, the answer is true. The testcase is correct