Skip to content

Commit 6b2b34e

Browse files
authored
Update README.md
1 parent 3ade84b commit 6b2b34e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This project implements a **Singly Linked List (SLL)** in Python with the follow
1616
If 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

2121
sll = LinkedList()
2222
sll.append(10)
@@ -42,7 +42,7 @@ pip install git+https://github.com/Ahmedhm1/SLL---Singly-Linked-List-Python.git
4242
Now you can import it anywhere:
4343

4444
```python
45-
from linkedlist import LinkedList
45+
from sll import LinkedList
4646

4747
sll = LinkedList()
4848
sll.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
6262
sll = LinkedList()
@@ -91,7 +91,7 @@ print(sll.is_empty()) # False
9191
```
9292
Linked-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

0 commit comments

Comments
 (0)