Skip to content

Commit 5b413da

Browse files
committed
Initial commit
1 parent ee47e6f commit 5b413da

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# SOLID Principles in Python
1+
<p align="center">
2+
<img src="assets/banner.png" alt="SOLID Principles in Python" />
3+
</p>
24

35
Learn the five SOLID design principles with small Python examples (**violation** vs **correct**) and UML class diagrams.
46

assets/banner.png

30.5 KB
Loading

index.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ permalink: /
88
{: .note }
99
> **Language:** **English** | [O'zbek]({{ site.baseurl }}/uz/)
1010
11+
<p align="center">
12+
<img src="{{ site.baseurl }}/assets/banner.png" alt="SOLID Principles in Python" />
13+
</p>
14+
1115
# SOLID Principles in Python
1216

1317
SOLID is an acronym for five design principles introduced by Robert C. Martin (Uncle Bob).
@@ -30,8 +34,8 @@ Each principle is demonstrated with a **violation** (what goes wrong) and a **co
3034
Each file is a standalone script. Run any example directly:
3135

3236
```bash
33-
python srp/violation.py
34-
python srp/correct.py
37+
python 01-single-responsibility/violation.py
38+
python 01-single-responsibility/correct.py
3539
```
3640

3741
**Requirements:** Python 3.10+, no external dependencies.

0 commit comments

Comments
 (0)