We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0f07472 + 519dc59 commit e90fb03Copy full SHA for e90fb03
Math/sum_of_digits/sum_of_digits_python.py
@@ -0,0 +1,7 @@
1
+number = "123456"
2
+sum = 0
3
+
4
+for loop_variable in number:
5
+ sum += int(loop_variable)
6
7
+print(sum)
0 commit comments