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.
The tests seem to compare against either en-us or just en. They should stick to one. See below:
expected: {:DESCRIPTION=>"third planet from the Sun in the Solar System", :ID=>"Q2", :LABEL=>"Earth"}
got: {:DESCRIPTION=>"third planet from the sun in the solar system", :ID=>"Q2", :LABEL=>"Earth"}
This is for Q2. As you can see the case varies. This is because the comparison is against en here while for Q42 it was against en-us.
Thank you!
Just a quick proofread before I start trying to solve it:
Otherwise an excellent description and, by the looks of it, a fun kata!
Added section for randomly generated input.
Fixed π
Thanks for the tip.
it
blocks of Python should be displayed usingrepr
The random tests are not actually random, they're just randomly sampled from a collection of fixed test cases, so they can still be hard-coded.
display
should be inpreloaded
, not in solution.This was a great kata. Also liked how they explained how you'd apply it in the real world. Wish all the katas did this!
it's my first time doing python, and this is quite good for beginners.
Great kata!!π§ββοΈ
(approved)
Thanks!
python new test framework + python 3.11v. updated in this fork
Loading more items...