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.
it is, but 0 can be counted as
False
aaa.... right.... how on earth did I not notice that formal is s'posed to be a bool/
the goal is to make it short, not make it long
I did NOT improve from @thatbirdguythatuknownot's answer, I modified the test cases. So its still 96 characters.
I did NOT improve from @thatbirdguythatuknownot's answer, I modified the test cases.
nice
thats so much shorter
nice! I see that big improvement!
wild.
LOL well done. I'm surprised that you didn't also use multiple assignments for the
__init__
to make this class a total of 4 lines xDJust curious, why is this a class? imo the only time you need to use a class is to keep track of an instance. AKA it would make more sense to have a class called Person with a method called greeting. Either way, looks like a fun challenge to make random tests for! I'll be back...