Community Profile

photo

123


Active since 2018

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


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 ...

3 years ago | 2 answers | 1

2

answers