Ad
  • Custom User Avatar

    Please don't post solution code in the discourse without a spoiler tag. If you are posting code of any sort, please format it correctly.

    Use backticks for inline code snippets `like this` => like this

    Use triple backticks for code blocks

    ```

    Like this

    ```

    =>

    Like this
    

    Your solution is close but your logic is not quite correct; add the following test case and see if it helps:
    test.assert_equals(get_num(400), 2, "Wrong output!")