Create a Python program to calculate the sum of all digits of a number
number = 2345
def sum_digits(number):
    total = 0
    while number > 0:
        total += number % 10
        number //= 10
    return total

print("Sum of digits:",sum_digits(2345))