Skip to content

commit-live-students/032-sum-items-of-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Write a Python program to sum all the items in a list.

Notes:

  • Define a function which will accept an integer list as a parameter.
  • Iterate through each element and sum up all values.
  • Return addition.

Instructions:

  • Program should be written in file build.py

  • Function name should be solution.

  • Input

     Type:  List
     Value: [2,3,5,8,11]
    
  • Expected Output

      Type:  Integer or float
      Value: 29
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages