Dear all,

please excuse me, but I didn’t understand a thing in this one!

`middle_element(lst)`

Instructions

Create a function called `middle_element`

that has one parameter named `lst`

.

If there are an odd number of elements in `lst`

, the function should return the middle element. If there are an even number of elements, the function should return the average of the middle two elements.