class Dog:
tricks = []
def __init__(self,name):
self.name=name
def add_tricks(self, trick ):
self.tricks.extend(trick)
I keep getting the error that add_tricks only accepts 1 positional arguments but 3 were given. I tried passing **kwargs to the function but that didn't work either. How do I pass multiple strings to the function?