Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sum of all n integers

Sum of n integers 1 + 2 + 3 + ... + n = n * (n + 1) / 2
 
PREVIOUS NEXT
Tagged: #sum #integers
ADD COMMENT
Topic
Name
3+4 =