Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sum range

>>> sum(range(4))  # 0 + 1 + 2 + 3
6
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #sum #range
ADD COMMENT
Topic
Name
1+1 =