Hey guys this is my code until now, which outputs <function middle_element at 0x7f2cf8573e18>. I was wondering, I totally forgot, how do I display the value of this list?
This is my code:
#Write your function here
if len(lst) % 2 == 0:
return str(middle_element) / len(lst)
#Uncomment the line below when your function is done
print(middle_element([5, 2, -10, -4, 4, 5]))