5. Sum of digits
You are not logged in.
Input
Goal output
Your output
  • 0
    0
    0
  • 7
    7
    7
  • 10
    1
    10
  • 42
    6
    42
  • 99
    18
    99
  • 123
    6
    123
  • 1000
    1
    1000
  • 908
    17
    908
Some tests failed