Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sum first 100 integers in python

mysum = 0
for nextnumber in range(1, 101):
    mysum += nextnumber
print mysum
 
PREVIOUS NEXT
Tagged: #sum #integers #python
ADD COMMENT
Topic
Name
5+5 =