human
I am working on the file "03_advanced/advanced_python_tricks.ipynb".
The first task is:
Instances
Classes can be used to create objects with certain attributes and behavior:
Can you write Python code for it?
assistant
#Here is the Python code you requested.

class Dog(object):
    color = "yellow"
    def __init__(self, name, size):
            self.name = name
            self.size = size
    def bark(self):
        print 'whoof, whoof!'

b = Dog("blitzer", 100)
b.bark()