Coding
Basic Python practice programs and exercises from my learning journey 🐍✨
Install / Use
/learn @ydhruv245/CodingREADME
Profit & Loss Calculator 🧮💹
This Python project includes two different methods to calculate Profit / Loss:
1️⃣ Using Selling Price & Cost Price
2️⃣ Using Marked Price, Discount & Cost Price
✨ Features
- Detects Profit / Loss / No Profit No Loss
- Calculates Profit or Loss percentage
- Two separate functions for different inputs
- Beginner friendly logic
🧠 Concepts Used
- Functions in Python
- Input from user
- Conditional statements (
if-elif-else) - Basic arithmetic operations
▶️ How to Run
python profit&loss.py
