input: Write a python function to calculate the sum of digits of a given number.
  assert sum_of_digits(123) == 6
  assert sum_of_digits(456) == 15
  assert sum_of_digits(7890) == 24
output: def sum_of_digits(number):
      return sum(int(digit) for digit in str(number))