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