There was an error while loading. Please reload this page.
1 parent c551891 commit 278e911Copy full SHA for 278e911
SumofInteger.py
@@ -0,0 +1,6 @@
1
+n=int(input())
2
+li=list(str(n))
3
+tot=0
4
+for i in range(0,len(li)):
5
+ tot+=int(li[i])
6
+print(tot)
0 commit comments