SkillAgentSearch skills...

Coding

Basic Python practice programs and exercises from my learning journey 🐍✨

Install / Use

/learn @ydhruv245/Coding
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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
View on GitHub
GitHub Stars6
CategoryEducation
Updated4mo ago
Forks1

Languages

Python

Security Score

67/100

Audited on Dec 2, 2025

No findings