This repository has been archived by the owner on Aug 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: TusharKuwar <[email protected]>
- Loading branch information
1 parent
ebaa1c5
commit e13ec18
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |