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.
This comment is hidden because it contains spoiler information about the solution
Your solution to this beta kata was invalidated because of recent requirement changes. Specifically, answers should now be returned as instances of class
Fraction
, not as floats.I apologize for the inconvenience. Feel free to resubmit your solution to reflect this minor specification change.
Yes, you are right.
But, in this case it is not used, while increase compile time. And thus this highly effective solution ranged lower than it could be.
And for debug purposes the mentioning of the library was not required. And if not used the library would not be forgotten in the heading.
Thre is no such thing as "included by deafault". If you use it, you need to include it. Otherwise you risk thing breaking in the future.
This comment is hidden because it contains spoiler information about the solution
congrats
like it or not, this is a very effecient solution
The easiest to undestand of them all.
if you want you can do f"{'w'}hile" rather then f"{chr(119)}hile"
:)
Cool, you used the optimised strategy :)
It would be brilliant if you knew all the task.
Also this code can not solve such task: a2(b)c2(d)
It gives the result: abcddbcdd
But the right result is: abbcdd
This comment is hidden because it contains spoiler information about the solution
It's pythons way of making getters/setters. The @ symbol means the property function is used as a decorator, this is syntactic sugar for property(fget=info)(fget is the getter function). When someone wants the property named info(which was a variable initially) it returns the result of the info function instead.
you're right
Loading more items...