Python - List code practice middle_element question

It could be an indentation issue. We can’t really tell b/c your code isn’t formatted.

Please remember to format your code and please follow this guide when posting.

Also, did you have a chance to peruse the forums for this question? There’s several posts that might help you glean some insights as to why your code doesn’t work.