Skip to content

Commit 07b6039

Browse files
authored
Update LinkedList0.py
1 parent a097b55 commit 07b6039

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

LinkedLists/LinkedList0.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,12 @@ def find (self, d):
5959

6060
myList = LinkedList()
6161
myList.add(5)
62+
print("data added")
6263
myList.add(8)
6364
myList.add(12)
6465
print("size="+str(myList.get_size()))
6566
myList.remove(8)
6667
print("size="+str(myList.get_size()))
6768
print(myList.remove(12))
6869
print("size="+str(myList.get_size()))
69-
print(myList.find(5))
70+
print(myList.find(5))

0 commit comments

Comments
 (0)