i have written this code but it is not correct can any one help me to correct this one

You don’t have to write all the names manually…
Use code to do the same…
For example if I have a list of all columns in this dataset and I need all the columns from second to second last…
Now figure out how we can do this…
Hint:
For a list [1, 2, 3, 4, 5, 6, 7]
if I want [1, 2, 3] I would do something like list[0:3]

Hope you’ll figure it out Best of Luck

hi. you’re only asked for a string, not a list. only one column as a target. remove the brackets on the right of target_col. there should only be one answer.