Skip to content

Commit f98067c

Browse files
Update doubly_linked_list_two.py
1 parent c6ec05f commit f98067c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/linked_list/doubly_linked_list_two.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def create_linked_list() -> None:
244244
>>> linked_list.insert_at_position(position=1, value=10)
245245
>>> linked_list
246246
LinkedList(head=Node(data=10, previous=None, next=None),
247-
tail=Node(data=10, previous=None, next=None))
247+
tail=Node(data=10, previous=None, next=None))
248248
>>> str(linked_list)
249249
'10'
250250
>>> linked_list.insert_at_position(position=2, value=20)

0 commit comments

Comments
 (0)