Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

This page removed for FERPA compliance
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

For Loops Problem 4 Solution

Write a function that takes in a list of numbers. Return the sum of all those numbers.

def function(numberREMOVEDst):
  runningTotal = 0
  for item in numberREMOVEDst:
    runningTotal = runningTotal + item
  return runningTotal


[explaination not written yet]


Link to this Page