Course 5 week 1 assignment 3 exercise 1

Please do not post your code on the forum.

Do you have a question?

Note, do not use a Lambda function.

I’ve taken the lambda out but still getting this error

Your line of code is using “X” too many times.

You’re just trying to slice the “X” variable.

When you added (X) at the end, the interpreter thinks you’re trying to pass the X variable to a function named X[…], which doesn’t exist.

yeahh I’ve seen my mistake. Thanks once again