We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b81282c commit 1bd0b30Copy full SHA for 1bd0b30
Math/sum_of_digits/digit_sum.py
@@ -0,0 +1,5 @@
1
+n="12345"
2
+sum=0
3
+for i in range(len(n)):
4
+ sum+=int(n[i])
5
+print(sum)
0 commit comments