Skip to content

Instantly share code, notes, and snippets.

@EJSohn
Created April 22, 2019 12:24
Show Gist options
  • Select an option

  • Save EJSohn/a403be077169a7057fbc7e952f4932df to your computer and use it in GitHub Desktop.

Select an option

Save EJSohn/a403be077169a7057fbc7e952f4932df to your computer and use it in GitHub Desktop.
def sum_list(lst):
tot = 0
for val in lst:
tot += val
return tot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment