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
sympy
module is not among the external packages available on Codewars, you'll need to simplify the equalities manually, closingno evidence given, closing
That's very clever, congrats!
啥玩意
Clever, but not efficient. Nit: should space around operators by default to improve readability.
why divide by 100
不要原地修改数组!!!不然无法通过randomTest
This comment is hidden because it contains spoiler information about the solution
That's the intent of
foreach
. Read this for more info.If you want to
return
something, use thisYou have pre-defined
revarray
to be a 2-D array consisting of only 4 elements (sub-arrays). Upon assigining the 5th one, there is no memory assigned to the array object to store the value, hence the error.Hint: do not pre-define the array and use another technique to add elements into it.
done some time ago
Approved
python new test framework is required. updated in this fork
That was a good one! I spent an hour debugging. 🎉
༝༚ ༝༚ ༝༚ Nice ⋆。 ° ✩
Loading more items...