I have a function that won't work is it possible for someone to debug it for me?...i've been trying to play with everything...
Code:
def reverse(L):
"""Given a list, return a new list that is the same as the original list except that its members are in reverse order, without changing the original."""
M=list()
for i in L:
M.append(L[i])
M.reverse()
return M
Comment