Ad
  • Custom User Avatar

    Ahh, jeez. Thanks so much for your time ... rookie error there by me.

  • Custom User Avatar

    There is a typo in your solution, your function is named decending_order but it should be descending_order.

  • Custom User Avatar

    Hi folks,

    I'm very new to this so apologies if this is a foolish question.

    I've built a solution which I belive works as intended, I've tested it with variations of integers and it seems to be working fine, until ... when I add the code into codewars and run it, a syntax error is thrown on this sample test:

    test.assert_equals(descending_order(def), 987654321)

    The error points to def.

    I'd expect the test to read: test.assert_equals(descending_order(123456789), 987654321)

    Is this an error with me or with the test?