12/15 Does your purify function take exactly one argument (a list of numbers)? Your code threw a "'builtin_function_or_method' object has no attribute 'getitem'" error




Hi @coderockstar33225,

Take a look at this line …


Are you attempting to make a method call there, and is that the correct syntax for it?


I’m not sure what you mean. I wanted to add the value of y into the list z. is this the incorrect way of doing so?


What should enclose the arguments in a method call, [] or ()?


oh haha oops. thanks so much!