input: Write a function to calculate the sum of digits of a number.
  assert sum_digits(12345) == 15
  assert sum_digits(987) == 24
  assert sum_digits(0) == 0
output: def sum_digits(number):
      return sum(int(digit) for digit in str(number))