A clean, simple, and beginner-friendly repository to learn Python programming from scratch. Go step by step.
This repository contains a step-by-step guide to Python basics. Each folder covers a fundamental topic with clear code examples. Perfect for anyone starting their coding journey.
- 1-variables: Learn how to store information.
- 2-data-types: Understand numbers, text, lists, and more.
- 3-conditions: Make decisions with
if,elif,else. - 4-loops: Repeat tasks with
forandwhile. - 5-functions: Write reusable blocks of code.
- 6-modules: Use built-in and external tools.
- 7-file-operations: Read from and write to files.
- 8-errors: Handle problems gracefully with
try-except.
- Clone the repo:
git clone https://github.com/ErkanSoftwareDeveloper/python-basics.git - Navigate into a folder (e.g.,
cd 1-variables). - Run the Python files:
python3 variables.py
Found a bug or want to improve an example? Feel free to open an issue or submit a pull request.
This project is open source. No strict license feel free to use it for learning.