Ad
  • Custom User Avatar

    thank you for the wiki link!

  • Custom User Avatar

    thank you for the clarification! So the issue is not actually residing in different kinds of 'nulls' (or Nones, in Py) that None and pass would generate - as I thought was happening - but in the way I returned None all together.

    Much appreciated, Chrono, thank you!

  • Custom User Avatar

    hi!
    i guess I got thrown off a little by the instructions stating that 'If the whole array is consecutive then return null.' so I would appreciate some clarity on the difference between None and Pass.

    In my code, within my if statement, I returned None if the numbers were consecutive, but this would fail the test.
    When I changed return None to a pass, the test would pass.

    I am trying to understand the difference between None and a pass since pass seems to be a null operation here: https://docs.python.org/2.0/ref/pass.html

    Thnks in advance!