Welcome to the Learn-Python-From-Scratch repository — a beginner-friendly, example-rich Python learning journey! 🚀
This repo is designed to help you learn Python from the ground up, with clear explanations and hands-on examples. It covers everything from basics to object-oriented programming (OOP), all in one place.
- 👶 Absolute beginners starting with Python
- 👨💻 Programmers switching to Python
- 🎯 Students preparing for DSA, coding interviews, or university courses
| File Name | Description |
|---|---|
01_Basics_of_Python.py |
Basic syntax: variables, input/output, types, comments |
02_String.py |
String manipulation: slicing, methods, formatting |
03_If_Else_Condition.py |
Conditional statements: if, elif, else, logical operators |
04_Loops.py |
Loops: for, while, counting, nested loops, pattern printing |
05_Lists.py |
Lists: indexing, slicing, appending, removing, sorting |
06_Dictionary.py |
Dictionaries: keys/values, nesting, updating, examples |
07_Function.py |
Functions: definitions, parameters, return values, examples |
08_Args_and_Kwargs.py |
Advanced function arguments: *args, **kwargs explained |
08_Class.py |
🔥 20 real-world class examples with step-by-step explanations |
my_command_history.txt |
Handy terminal commands (Git, Python, etc.) |
- ✅ Beginner-focused with real code examples
- 📚 Covers foundational topics and real-life use cases
- 🧠 Great for learning, revision, and interviews
- 💬 Code comments for better understanding
- 🚀 Inspired by common beginner struggles
# Clone the repository
git clone https://github.com/shishirRsiam/Learn-Python-From-Scratch.git
# Move into the project folder
cd Learn-Python-From-Scratch
# Run any Python file to practice
python 04_Loops.py