human
I am working on the file "Sessions/Session08/Day1/OOP Lecture.ipynb".
The first task is:
Objects
Objects have 

data called attributes
functions to act on their data called methods
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 Observation(): # "object" and "class" are interchangable!
    def __init__(self, data): # method
        self.data = data #attribute
    def average(self): # method
        dsum = 0
        for i,d in enumerate(self.data):
            dsum += d
        average=dsum/(i+1)
        return average