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

Commit fbaa134

Browse files
Fix Lint Error
Signed-off-by: Kishan Kumar Rai <kishan.rai99693@gmail.com>
1 parent b7f3f92 commit fbaa134

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
n = input()
2+
total = 0
3+
for ele in n:
4+
total += int(ele)
5+
6+
print("Sum of digits of the number " + n + " is", total)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Challenge 18 - 2 Gists
2+
13
- Task 1 : [Decorators in Python](https://gist.github.com/kishanrajput23/e273f3f43c5d14be10e6155ffcce2d78)
24

35
- Task 2 : [Palindrome Program in Java](https://gist.github.com/kishanrajput23/b87c8f6081d51d9d24b9573420369024)

0 commit comments

Comments
 (0)