diff --git a/challengers-list.md b/challengers-list.md index 2fb6f60ea..b2066f546 100644 --- a/challengers-list.md +++ b/challengers-list.md @@ -2,3 +2,5 @@ 1. [Mrinal](https://github.com/mrinal1224) 2. [Shivay](https://github.com/shivaylamba) 3. [Raghav](https://github.com/raghavdhingra) +4. [Subhash Jain](https://github.com/subhashjain010) + diff --git a/contributors/subhashjain010/gist-solutions.md b/contributors/subhashjain010/gist-solutions.md new file mode 100644 index 000000000..915e3428c --- /dev/null +++ b/contributors/subhashjain010/gist-solutions.md @@ -0,0 +1,3 @@ +# Challange 19 - gist task +- Task 1 : [Recursion](https://gist.github.com/subhashjain010/377fd014d4f2d0b9df2b55fedc931bfe) +- Task 2 : [Factorial using Recursion](https://gist.github.com/subhashjain010/9f21b83fc88e9342821eabf8833e422d) diff --git a/contributors/subhashjain010/subhashjain010.md b/contributors/subhashjain010/subhashjain010.md new file mode 100644 index 000000000..27284f2c4 --- /dev/null +++ b/contributors/subhashjain010/subhashjain010.md @@ -0,0 +1,8 @@ +--- +name: Subhash Jain +github_user_name: subhashjain010 +url_of_github_issue: https://github.com/scaleracademy/scaler-september-open-source-challenge/issues/101 +your_favroite_programming_language: Python +your_hosted_github_pages_link: https://subhashjain010.github.io/SamplePortFolio/ +your_hosted_github_pages_repository_link: https://github.com/subhashjain010/SamplePortFolio.git +--- diff --git a/contributors/subhashjain010/sum_of_digits.py b/contributors/subhashjain010/sum_of_digits.py new file mode 100644 index 000000000..03350716a --- /dev/null +++ b/contributors/subhashjain010/sum_of_digits.py @@ -0,0 +1,5 @@ +inp = input() +s = 0 +for ele in inp: + s += int(ele) +print("Sum of digits of the number " + inp + " is", s)