Answers for "how to print the total of a list of numbers in python with no built in functions"

-1

how to add all values in a list python without using sum function

def int_list(grades):   #list is passed to the function
    summ = 0 
    for n in grades:
        summ += n
        print summ
Posted by: Guest on September-27-2020

Code answers related to "how to print the total of a list of numbers in python with no built in functions"

Python Answers by Framework

Browse Popular Code Answers by Language