We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f540c25 commit 157984bCopy full SHA for 157984b
src/sumRange.py
@@ -1,3 +1,3 @@
1
-# return the sum of all numbers from 1 to x. x will be a positive integer.
+# return the sum of all numbers from 1 to x. x will be a positive integer
2
def sumRange(x):
3
return x * (x + 1) / 2
0 commit comments