python列表反转函数
def reverse(ListInput):
RevList=[]
for i in range (len(ListInput)):
RevList.append(ListInput.pop())
return RevList


def reverse(ListInput):
RevList=[]
for i in range (len(ListInput)):
RevList.append(ListInput.pop())
return RevList

