human
Give me a code to 4: Instance methods and init and the other steps required given the following:
4: Instance methods and init
Instrutions
Add a name parameter to the init method, and set the self.name property to the name argument.
Make an instance of the class, passing in the value "New York Giants" to the init function (when you write Team()).
Assign the result to the variable giants.
Answer"
Please write code following the instructions in jupyter notebook style.
assistant
#Here is code to 4: Instance methods and init and the other steps required.

class Team():
    def __init__(self, name):
        self.name = name
        
giants = Team("New York Giants")

print(giants.name)