#编写一个接受非负整数并将其数字求和的函数
def sum_digits(x):
“”"Sum all the digits of x.
sum_digits(10) # 1 + 0 = 1
1sum_digits(4224) # 4 + 2 + 2 + 4 = 12
12sum_digits(1234567890)
45a = sum_digits(123) # make sure that you are using return rather than print
a
6
“”"
这个要怎么弄