human
I am working on the file "Section 2 - Advance Python/Chapter S2.01 - Functional Programming/00_01_Introduction_to_Programming_Paradigm.ipynb".
The first task is:
Object-oriented
Can you write Python program for it?
 Can you provide a the Python program you requested?
assistant
#Here is the Python program you requested.

class Saving(object):
    def __init__(self, list_data):
        self.total_savings = list_data
    
    def add(self):
        sum = 0
        for a in self.total_savings:
            sum += a
        return sum

s = Saving(L)
print(s.add())