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

Commit 311eee9

Browse files
subhashjain010sj5027052
authored andcommitted
Update sum_of_digits.py
Signed-off-by: Subhash Jain <steve241955jobs@gmail.com> Signed-off-by: Sanyam Jain <sj5027052@gmail.com>
1 parent e38b383 commit 311eee9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contributors/subhashjain010/sum_of_digits.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
s = 0
33
for ele in inp:
44
s += int(ele)
5-
6-
print("Sum of digits of the number " + inp + " is", s)
5+
print("Sum of digits of the number " + inp + " is", s)

0 commit comments

Comments
 (0)