Ad
  • Custom User Avatar

    Write a function that accepts an array of 10 integers (between 0 and 9)

  • Custom User Avatar

    Amazing!!!
    Although the test wasnt made to catch exceptions, it would be nice to implement one to catch errors if the input contains something other than integers and a lenght different than 10.

  • Custom User Avatar

    I always try to solve problems like that just like you at first. Avoiding to use built in functions or methods. Kudos my friend.
    The one problem in this case is that if you pass a really long string of numbers, the program could take a while to run trough every str(number).