@Chrono79 Understood. Sorry about that. I believe I am confused about the code written in sample test. It says python Test.assert_equals(find_missing_number([2, 3, 4]), 1).
Does this mean that the function should have two parameters? first for the actual list and the second for that missing number? Or am I overthinking?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
My code does not work for tests similar to this test. (longest_consec(["it","wkppv","ixoyx", "3452", "zzzzzzzzzzzz"], 15))
I am failing only 2 tests. Can someone tell me why?
This comment is hidden because it contains spoiler information about the solution
I sense that my code does not account for the 209917, "[29917, 0, 1]" example.
This works for some test but not for others. Can anyone help me understand where does this issue lie?
This comment is hidden because it contains spoiler information about the solution
The code gives out the final list with the Harshad numbers but it gives the execution runtime error. Please help.
This comment is hidden because it contains spoiler information about the solution
@Chrono79 Understood. Sorry about that. I believe I am confused about the code written in sample test. It says
python Test.assert_equals(find_missing_number([2, 3, 4]), 1)
.Does this mean that the function should have two parameters? first for the actual list and the second for that missing number? Or am I overthinking?
Repost
Here is the updated code. But it gives the timeout error when i try to attempt the kata.
This comment is hidden because it contains spoiler information about the solution
Sorry about this. I didnt realize that it was showing an error. I shall repost with the updated code.
Loading more items...