Python Program to Calculate the Sum of Digits in a 4-Digit Number

Prompt

Result