HelloPython
This repository contains Python programming educational code. The goal is not just solving a simple example, but rather teaching idea development to nurture a programmer's mindset.
Install / Use
/learn @mkhazaeidev/HelloPythonREADME
Python Problem-Solving Mindset Training Project
🎯 Main Goal
This project is designed to teach idea development for problem-solving. The primary objective is to strengthen programming mindset so you can approach problems like a professional programmer.
📋 Target Task
Write a program that prints the text "Hello Python" to the output.
🏗️ Project Structure
This project is divided into three main sections:
- Procedural Programming Simple linear implementation
Focus on execution sequence
Using basic functions
- Functional Programming Using pure functions
Immutability
Focus on data transformation
- Object-Oriented Programming (OOP) Design based on objects and classes
Encapsulation and inheritance
Realistic modeling
📁 Directory Structure
project/
├── procedural/
│ ├── __init__.py
│ └── main.py
├── functional/
│ ├── __init__.py
│ └── main.py
├── oop/
│ ├── __init__.py
│ └── main.py
└── README.md
💡 Unique Features
Each section is implemented as an independent Python package
Different solutions in each section are separated by clear comments
Ability to compare different programming approaches for a single problem
🚀 How to Run
# Run procedural version
python procedural/main.py
# Run functional version
python functional/main.py
# Run OOP version
python oop/main.py
🤔 Why This Project?
This project helps you:
1- Gain deeper understanding of different programming paradigms
2- Develop the ability to choose the best approach for different problems
3- Cultivate creative and analytical thinking in problem-solving
