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
Quite pretty kata to practice with, well done.
Nice!
Silly but TBH its nice to see weird ways of doing something for beginers like me!
From what I can see, you are trying to pop fourth item in "sausage_row" which only has three items (in the first sample test).
The intention is that you don't know all types of sausages that exist, so you have to identify them using their packaging (and as natan wrote, other specifics of a good sausage package). All of the necessary info is in the Kata's description.
there is a problem with interpreter.
i use vscode and my code works on it, but it doesnt work in here
Maybe you're testing the wrong things. Look at how the description specifies good sausage and test that.
I think all the types of sausages should be displayed in the problem statement.
In my case, I only found all the types of sausages from the automated tests, after having written a solution for it.
So, this:
"Straight sausages I, curvy sausages ), even twirly sausages @ and many more."
Should say:
"Sausages may be represented as such: "@" , "I" , ")" , "║" , "l" , "1" , "(" , "|" , "¦" . "
Cheers,
Razvan Boboc
Thanks for the info about if blocks, I didn't know those existed. I've chosen tuples for boxes really just for the expressivness that Python enables here (and readability) without initially really considering a lower common denominator for other languages as well.
Glad you've enjoyed it, thanks for the translation.
Rust translation kumited! :-)
That was a fun kata, thanks.
Yeah. Never expected a reward!
JS
expected 'I I I I l l l l 1 1 1 1 @ @ @ @ | | | | ║ ║ ║ ║' to equal 'I I I I l l l l 1 1 1 1 @ @ @ @ ║ ║ ║ ║'
Do you hate thin ones or what ?
Loading more items...