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.
I indeed took advantage of codewars "secrecy" of the answers until you find the solution :)
And also from the fact that the validation tests would not go overflow the stack.... ^^
Glad to bring a bit of crazy cleverness in your world ;)
Hi Blind4Basics, thanks for the detais feedback, I will try to have a look at it by next week.
Hi guys,
I have swapped the test assertions in the random test cases, thanks for the remark.
To elaborate a bit on the numbers, those random tests compare the '.seconds' attributes (-174115.09007607), not the '.degrees' one (which is actually -48.3653025 for the given number)
as long as the question is not asked in the validation tests... we are safe ;)
thanks :)
persistant lazyness. Good too ^^
Indeed, in this case time complexity was reduced to a google search and (If I remember well) 3 pages browsed. Copy-pasting in sublime and multi-search-replace.
5mins ?
;)
How can I set multiple disciplines ?
Right and right ^^
I missed an import in my test cases. Not flagged out because it is in my solution and the two are joined when the kata is validated.
-> should be corrected now :)
I also modified the test samples. Thanks for the tip! makes sense
Cheers to both of you :)
You are right! I was using your function instead of mine.
Should be corrected now. Thanks for the feedback :)
Voila!
I have set-up an easy kata in order to play around with unicodes and see a bit how to handle compatibility with python 2 & 3 (https://www.codewars.com/kata/those-elegantes-unicodes-hiding-in-code-wars-dot-dot-dot/python)
I still have real issues to display unicodes in the code (github issue: https://github.com/Codewars/codewars.com/issues/459)
I did not yet understand how to make use of the kommit you created with lechevalier... my focus was to publish the kata first, need to spend a bit of more time now
Any feedback welcomed :)
How can I display unicode messages ?
When trying
test.it(u"Testing with {0}".format(incoming))
, whereincoming
is a unicode. I got the following error:I also tried the work around
print u"Testing with {0}".format(incoming)
, which leads to:Is there a way to display unicodes on the execution of tests ?
hé hé! It was actually painful to remove the tests with the accents. But I did not want those to get in the way and bring a bad experience. If it is less fun though... I will work quickly on the fix. I wanted to use and test the info from your discussion in the heavy metal kata... just need a bit of time to focus on it ^^
I will certainly come back to you once fixed, hopefully in the following days.
Thanks again for your feedback !!!!
let me know what you think of the second level ^^
Loading more items...