Ad
  • Default User Avatar

    Just noticed the spacing didn't keep for the addition part. Anyone know how I make it keep the formatting?

  • Default User Avatar

    Something is wrong with the python version of the test. My script passes all the hard coded ones, but not the random. When I print the arrays and the shift and compare with the results, it looks like the expected answer is wrong. Here is an example:

    [[3, 7], [-2, -5], [0, -1], [3, 2]] 1
    [3, 5, -5, 2, 2] should equal [3, 7, -2, -5, 0, -1, 3, 2]

    3, 7
    -2,-5
    0,-1
    3, 2
    3, 5,-5, 2, 2 <----------- This should be the correct answer, which is what I got, but it says it's wrong.