input: Write a python function to sum the digits of a number.
  assert sum_digits(2345) == 14
  assert sum_digits(123) == 6
  assert sum_digits(0) == 0
output: def sum_digits(n):
      return sum(int(digit) for digit in str(n))