input: Write a python function to find the sum of digits of a given number.
  assert sum_of_digits(123) == 6
  assert sum_of_digits(4567) == 22
  assert sum_of_digits(890) == 17
output: def sum_of_digits(n):
      return sum(int(digit) for digit in str(n))