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