Änderungen von letzter Stunde
Ich konnte nicht während des Unterrichts pushen. Dieser Commit enthält die Änderungen, von Nextcloud kopiert
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
from linked_list import LinkedList
|
||||
|
||||
list = LinkedList()
|
||||
list.push(123)
|
||||
list.push(456)
|
||||
list.push(789)
|
||||
list.print()
|
||||
|
||||
print(list.pop())
|
||||
print(list.pop())
|
||||
print(list.pop())
|
||||
|
||||
|
||||
# node3 = Node(333)
|
||||
# node2.next = node3
|
||||
|
||||
# print(node1.data, node1.next.data, node2.next)
|
||||
Reference in New Issue
Block a user