aCODE CHALLENGE: LISTS Remove Middle

https://www.codecademy.com/courses/learn-python-3/lessons/python-functions-lists-cc/exercises/remove-middle?action=resume_content_item

def remove_middle(lst, start, end):
  return 
   new = lst[:start]
   last = lst[end+1:]
   new_list = new + last

ERROR message

  File "script.py", line 4
    new = lst[:start]
    ^
IndentationError: unexpected inden

What is wrong with my code???
please help

The value you want to return needs to be on the same line as the return, or you can use a line continuation character \. However your code as written won’t work even with a line continuation. You’ll need to perform your slices and make your assignment to the final value you want to return, and then return the value.

2 Likes