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

Commit e13ec18

Browse files
committed
Challange-19 added code file
Signed-off-by: TusharKuwar <[email protected]>
1 parent ebaa1c5 commit e13ec18

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
[Software Development related gist](https://gist.github.com/TusharKuwar/9b31ff11be49d2619134ff89fa3b131c)
2-
[Code Snippet Gist](https://gist.github.com/TusharKuwar/ed66a7d620c748b35cf6e5c6ddb1a484)
1+
1: Software Development Related Topic Gist: https://gist.github.com/TusharKuwar/9b31ff11be49d2619134ff89fa3b131c
2+
2: Code Snippet Gist: https://gist.github.com/TusharKuwar/ed66a7d620c748b35cf6e5c6ddb1a484
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# return sum
2+
n = input()
3+
total = 0
4+
for ele in n:
5+
total += int(ele)
6+
print("Sum of digits of the number " + n + " is", total)

0 commit comments

Comments
 (0)