You are viewing a single comment's thread. Return to all comments →
def reversePrint(llist): values = [] cur = llist while cur: values.append(cur.data) cur = cur.next while values: print(values.pop())
Seems like cookies are disabled on this browser, please enable them to open this website
Print in Reverse
You are viewing a single comment's thread. Return to all comments →