sum() function : Sum : List PYTHON TUTORIALS


PYTHON TUTORIALS » List » Sum »

 

sum() function


a = [645]
print sum(a)
print sum(a, 5)
a = [6.4.5.]
print sum(a)



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo List
» Sum