ankitapuri / DSA-guide

Trying to cover important DSA
MIT License
49 stars 114 forks source link

added sum_of_digits.py #299

Closed rish-singhal closed 1 year ago

rish-singhal commented 3 years ago

Related Issuse

Closes: #297

Describe the changes you've made

Added sum_of_digits.py which calculates sum of digits using recursion in python.

Type of change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

Describe if there is any unusual behaviour of your code(Write NA if there isn't)

A clear and concise description of it.

Checklist:

Screenshots

Original Updated
original screenshot updated screenshot