File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ This project implements a **Singly Linked List (SLL)** in Python with the follow
1616If you just want to try the list without installing anything, copy ** ` linked_list.py ` ** into the same folder as your project and use:
1717
1818``` python
19- from linkedlist import LinkedList
19+ from sll import LinkedList
2020
2121sll = LinkedList()
2222sll.append(10 )
@@ -42,7 +42,7 @@ pip install git+https://github.com/Ahmedhm1/SLL---Singly-Linked-List-Python.git
4242Now you can import it anywhere:
4343
4444``` python
45- from linkedlist import LinkedList
45+ from sll import LinkedList
4646
4747sll = LinkedList()
4848sll.append(5 )
@@ -56,7 +56,7 @@ print(sll) # Output: 5 -> 15 -> 25
5656## 🔎 Example Usage
5757
5858``` python
59- from linkedlist import LinkedList
59+ from sll import LinkedList
6060
6161# Create list and insert values
6262sll = LinkedList()
@@ -91,7 +91,7 @@ print(sll.is_empty()) # False
9191```
9292Linked-List-Python/
9393│
94- ├── linked_list / # Package source code
94+ ├── sll / # Package source code
9595│ ├── __init__.py # Exports LinkedList
9696│ └── linked_list.py # SLL implementation
9797│
You can’t perform that action at this time.
0 commit comments