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