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.
OK; I fixed two typos. Your solution now works without the need to replace by hand in your code. Can you give it a try? Thanks!
As it should, frankly.
Had a look and I think the description is clear. Closing issue.
As I see the Python translation is alright. The expected result is
[2, 2]
in JS too. Regards, suicConsider using:
if [ -z ${1: } ]
Great explanation here:
https://stackoverflow.com/questions/3601515/how-to-check-if-a-variable-is-set-in-bash
Leave an empty space after "colon" it will be for null or empty, refeer for the table:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02
Fixed.
This is still an issue @statioder_nrvs
This comment is hidden because it contains spoiler information about the solution
Thank you both. Fixed!
I confirm the issue:
0
is counted as even in python.Thanks I will look into it. The issue seems to be with the Ruby test cases.
This comment is hidden because it contains spoiler information about the solution
@Micromind
,EDIT:
I added a newline character at the end of the Python 3 version (using
stdout.buffer.write
) and it does make a difference by splitting up each line, so thanks for that point!The main issue remains though. All of the random test lines are printed above the first
test.describe('Basic Tests')
in a single "Log" output box. They are not printed above each random test (that's where the "unicode_print" function calls are). In other words, there is almost no easy way to associate them with each particular random test.@Micromind
,I tried writing a function that would print for whichever version of Python a user chose. Python 3 still has an issue.
As a test, I added the
unicode_print
function call above each random test to help a user while debugging.Basic Tests
and nowhere elseI'm open to any suggestions on how to get them back to printing above each test as expected but I'm still stuck without proper printing at the moment. Anyways, I will keep trying to fix it.
Thanks for your help!
This comment is hidden because it contains spoiler information about the solution
Loading more items...