class Node:

    def __init__(self,value):
        self.value=value
        self.next=None

#初始化节点
node1=Node(1)
node2=Node(2)
node3=Node(3)

for i in range(10):
    node=Node(i)

#表达节点之间的关系
node1.next=node2
node2.next=node3
node3.next=None
bff8ef6a5f568759da3fdcbcfa06884fdc897ddf
class Node:
    <mask token>


<mask token>

class Node:

    def __init__(self, value):
        self.value = value
        self.next = None


<mask token>

class Node:

    def __init__(self, value):
        self.value = value
        self.next = None


<mask token>
for i in range(10):
    node = Node(i)
<mask token>

class Node:

    def __init__(self, value):
        self.value = value
        self.next = None


node1 = Node(1)
node2 = Node(2)
node3 = Node(3)
for i in range(10):
    node = Node(i)
node1.next = node2
node2.next = node3
node3.next = None

class Node:

    def __init__(self,value):
        self.value=value
        self.next=None

#初始化节点
node1=Node(1)
node2=Node(2)
node3=Node(3)

for i in range(10):
    node=Node(i)

#表达节点之间的关系
node1.next=node2
node2.next=node3
node3.next=None