DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to add up everything in a list python
num = [1,2,3,4] print(num.sum()) #We use the .sum() function for the adding of everything
PREVIOUS
NEXT
Tagged:
#add
#list
#python
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit