Верните сумму цифр неотрицательного целого n.
n
123
6
0
9999
36
def sum_digits(n: int) -> int:
Sign in to see submission history
Sign in to use AI Mentor
Your code output will appear here