diff --git a/contributors/TusharKuwar/gist-solutions.md b/contributors/TusharKuwar/gist-solutions.md index 61e1bd635..97d7593d7 100644 --- a/contributors/TusharKuwar/gist-solutions.md +++ b/contributors/TusharKuwar/gist-solutions.md @@ -1,2 +1,2 @@ -[Software Development related gist](https://gist.github.com/TusharKuwar/9b31ff11be49d2619134ff89fa3b131c) -[Code Snippet Gist](https://gist.github.com/TusharKuwar/ed66a7d620c748b35cf6e5c6ddb1a484) \ No newline at end of file +1: Software Development Related Topic Gist: https://gist.github.com/TusharKuwar/9b31ff11be49d2619134ff89fa3b131c +2: Code Snippet Gist: https://gist.github.com/TusharKuwar/ed66a7d620c748b35cf6e5c6ddb1a484 \ No newline at end of file diff --git a/contributors/TusharKuwar/inorder_postorder_to_tree.py b/contributors/TusharKuwar/inorder_postorder_to_tree.py new file mode 100644 index 000000000..ba23d2550 --- /dev/null +++ b/contributors/TusharKuwar/inorder_postorder_to_tree.py @@ -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)