Active since 2018
Create a program that asks a user to input a number and then finds the sum of digits of the number using recursion. for example 341 = 3+4+1 = 8
This is what i have but it wont compute anything.. number = input('Enter a number here:'); function ...
4 years ago | 2 answers | 1