python node class

49

class Node(object):
 
    def __init__(self, data=None, next_node=None):
        self.data = data
        self.next_node = next_node

Comments

Submit
0 Comments