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.
You do know that you are using the same nested loops in your solution as well?
I have a hard time believing 1700+ python solves but the issue is with the kata and not your code.
Not a kata issue. Closing.
Dude your code is fine, But I don't know, why it returns false, maybe a server side issue. But I would change that
~int(command)+2
to3-int(command)
it's more readable that way. If you're use strings like "q1" "q2" to track states, might as well use an integer, and there's no need for self.states. Yeah, I know, I'm 1 year late. XDyears, days, hours, minutes and seconds.
no months