Ad
  • Custom User Avatar

    OK gotcha, so it's the other way round. Thanks!

  • Custom User Avatar

    there seems to be something wrong with at least one of the test cases:

    ['a', 'b', None, 'c', 'd', 1, 1, 3, [], 1, 9, {}, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

    should equal

    ['a', 'b', None, 'c', 'd', 1, False, 1, 3, [], 1, 9, {}, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

    The resulting array is longer than the input array, and the additional element is a Boolean False: why should it return False kind of in the middle of the array?

  • Custom User Avatar

    I fail to understand this test example: In the input array there are three 0 integers. Why would one of them become a False?