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're welcome.
Thank you! This was my first approved kata. I wanted to do something i enjoy and also needed to practice haha
Great kata on object oriented programming to practice with.
ready for approval: ranking votes
nice kata
wow good art
:D
beautiful
yup.
Some notes on the way:
if randint(1,2) == 1:
is equivalent toif randrange((2):
if not randrange(5)
, so taht theelse
case doesn't happen too often.w
(like 5 times each, for example)I think i understand what you mean, and I made the changes, can you take a look?
looks good except for the fact the two batches of random tests should be merged into one (picking randomly one strategy or the other). Otherwise
['0'] * len(warehouse)
can pass the second batch without actually implementing the logic.hello, i added
@test.it
in random test, and add the sample test where the barrels are the size of the warehouse and in the random test too.Thank you for your feedback =)
Hi,
@test.it
block, not directly inside a@test.describe
one.Cheers
.
In these cases, the barrels must be positioned in the last 2 positions on the list, as this is the smallest available space in which they fit. I think this is not clear in the description?
Ah, I modified the tests, the lists were being passed incorrectly, there was a possibility that they were modified and the tests could be bypassed. I made a copy of the lists so that the user cannot change them.
Loading more items...