Skip to content

Commit f9a4dee

Browse files
committed
update
1 parent a9834b1 commit f9a4dee

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

DSA/linked_list.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ def main():
1515
head = insertBeginning(head, "John")
1616
head = insertBeginning(head, "Zyra")
1717

18-
print(head.next.next.data)
19-
18+
current = head
19+
while current:
20+
print(current.data, end=" ")
21+
current = current.next
2022

2123
main()
2224

OpenCV/handTrackingModule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ def main():
5656

5757

5858
if __name__ == "__main__":
59-
main()
59+
main()

0 commit comments

Comments
 (0)