Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Challange-19 added code file
Browse files Browse the repository at this point in the history
Signed-off-by: TusharKuwar <[email protected]>
  • Loading branch information
TusharKuwar committed Sep 20, 2022
1 parent ebaa1c5 commit e13ec18
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contributors/TusharKuwar/gist-solutions.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[Software Development related gist](https://gist.github.com/TusharKuwar/9b31ff11be49d2619134ff89fa3b131c)
[Code Snippet Gist](https://gist.github.com/TusharKuwar/ed66a7d620c748b35cf6e5c6ddb1a484)
1: Software Development Related Topic Gist: https://gist.github.com/TusharKuwar/9b31ff11be49d2619134ff89fa3b131c
2: Code Snippet Gist: https://gist.github.com/TusharKuwar/ed66a7d620c748b35cf6e5c6ddb1a484
6 changes: 6 additions & 0 deletions contributors/TusharKuwar/inorder_postorder_to_tree.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# return sum
n = input()
total = 0
for ele in n:
total += int(ele)
print("Sum of digits of the number " + n + " is", total)

0 comments on commit e13ec18

Please sign in to comment.