• + 0 comments
    def reversePrint(llist):
        values = []
        
        cur = llist
        while cur:
            values.append(cur.data)
            cur = cur.next
        
        while values:
            print(values.pop())