Skip to content

NatiDevHQ/alx_be_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In now finished ..just some Update

# 🐍 ALX Python Basics – Arithmetic, Finance & Conversion Scripts

[![Python](https://img.shields.io/badge/language-Python-blue.svg)](https://www.python.org/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![Last Updated](https://img.shields.io/github/last-commit/yourusername/alx_be_python)](https://github.com/yourusername/alx_be_python)

Welcome to **`alx_be_python`** — a beginner-friendly collection of Python scripts built during my learning journey with **ALX Ethiopia**. These scripts explore foundational programming concepts through real-world arithmetic, finance, and conversion use cases.

---

## 📚 Table of Contents

- [📘 Overview](#-overview)
- [📂 Project Files & Descriptions](#-project-files--descriptions)
- [🚀 How to Run the Scripts](#-how-to-run-the-scripts)
- [🎯 Learning Objectives](#-learning-objectives)
- [🧠 Ideal For](#-ideal-for)
- [🙋 Author](#-author)
- [📎 License](#-license)
- [⭐️ Bonus: Practice Ideas](#️-bonus-practice-ideas)

---

## 📘 Overview

This repository includes:

- ✅ Arithmetic operations  
- ✅ Financial estimations  
- ✅ Unit conversions  
- ✅ User input/output practice  
- ✅ Beginner-level logic building  

---

## 📂 Project Files & Descriptions

| 🗂 File                     | 📋 Description                                                                 |
|----------------------------|---------------------------------------------------------------------------------|
| `arithmetic_operations.py` | Perform basic math operations on two user-provided numbers.                    |
| `savings_calculator.py`    | Calculate monthly savings and projected interest from income/expenses.         |
| `age_calculator.py`        | Determine your age in the year **2050** from your current age.                 |
| `time_conversion.py`       | Convert **2 hours** into seconds — great for unit conversion practice.         |
| `rectangle_area.py`        | Compute the area of a rectangle from length and width.                         |
| `simple_interest.py`       | Use the simple interest formula *(P × R × T) / 100* to calculate interest.     |

---

## 🚀 How to Run the Scripts

> 📌 Prerequisite: **Python 3.x** must be installed on your system.

Open your terminal and run any script using:

```bash
python3 script_name.py

Example:

python3 savings_calculator.py

✅ No third-party libraries needed ✅ Cross-platform: works on Windows, macOS, or Linux


🎯 Learning Objectives

This repository helped me:

  • ✍️ Strengthen my understanding of Python syntax and logic
  • 💰 Apply code to everyday financial decisions
  • 📐 Build confidence in working with mathematical expressions
  • 🔁 Prepare for more advanced topics in ALX’s backend development track

🧠 Ideal For

  • Beginners in Python 🐍
  • ALX students or other coding learners
  • Anyone who wants to practice with small, functional Python programs
  • Educators looking for basic example scripts to teach programming logic

🙋 Author

Developed by an aspiring software engineer as part of the ALX Ethiopia training program. Proudly contributing to open learning and continuous self-improvement. 💪


📎 License

This project is open-source and licensed under the MIT License. Feel free to fork, use, and expand it!


⭐️ Bonus: Practice Ideas

Level up this project by:

  • ✨ Adding error handling with try/except
  • 🧪 Writing unit tests using Python’s unittest
  • 🔄 Refactoring using functions or classes
  • ✔️ Adding input validation
  • 📝 Documenting edge cases with comments or examples

Made with ❤️ and Python


---

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages