🚀 Mini Project #5 – Rent Calculator (Python) Built a simple Rent Calculator using Python that helps roommates split expenses easily. The program takes inputs like rent, food cost, electricity usage, electricity charge per unit, and number of people, then calculates how much each person needs to pay. This project helped me practice Python basics, user input handling, variables, and arithmetic operations while solving a real-life problem. Small projects like this are a great way to strengthen programming fundamentals and improve logical thinking. #Python #MiniProject #Coding #Programming #Learning #PythonProjects
Python Rent Calculator for Roommates
More Relevant Posts
-
🔁 Understanding the While Loop in Python The while loop is used when you want to execute a block of code repeatedly as long as a condition is True. It’s especially useful when the number of iterations isn’t fixed. Example: i = 1 while i <= 5: print(i, end=" ") i += 1 Output: 1 2 3 4 5 Key things to remember: • Initialize the variable before the loop • Update the variable inside the loop • Avoid infinite loops by ensuring the condition becomes False Common use cases: ✔ Input validation ✔ Iterating until a condition is met ✔ Counting and accumulation ✔ Menu-driven programs Mastering loops is a small step that builds strong programming logic. #Python #LearningPython #WhileLoop #Coding #Programming #DataAnalytics #PythonBasics
To view or add a comment, sign in
-
Hello everybody, and welcome to this second personal project of 'Learning Python with me'. Today, I have been asked to create a commission calculator for a friend, and we will use Python to make a simple calculator that shows the percentage commission. What do we need? - Name - Income - Commission result Throughout this project, I realized that I needed to convert strings into integers, since the final result had to be a number. I also learned how to use variables in mathematical operations and print them as a final result. Here is how it looks. I hope you enjoy it! :) #Python #PythonProject #SideProject #fyp #Programming #OpsDeveloper
To view or add a comment, sign in
-
Task 2 : Calculator 🚀 Built a Simple Calculator in Python! I recently worked on a basic yet fundamental Python project—a Simple Calculator that performs operations like addition, subtraction, multiplication, and division. 💡 Key Highlights: Took user input using input() Converted values into float for accurate calculations Used conditional statements (if) to perform operations Created a simple menu-driven interface 🔧 This project helped me strengthen: Python basics User input handling Conditional logic Code structuring 📈 Small projects like this are the building blocks for mastering programming and problem-solving. Looking forward to building more such projects and improving my skills! #Python #Programming #Coding #BeginnerProjects #Learning #TechJourney #Codsoft Here is my demo video
To view or add a comment, sign in
-
📘 Python Learning – Day 3 Highlights 🐍 Today’s class was all about Strings & Conditional Logic — very practical and fun! 🔹 String Methods: Used functions like lower(), upper(), strip(), replace(), find(), count(), and split() 🔹 String Formatting: Learned modern and clean way using f-strings 🔹 Conditional Statements: if, elif, else to make decisions in programs 🔹 Ternary Operator: Short and smart way to write conditions in one line 🔹 Practice Programs: ✔ Grade calculation system ✔ Palindrome checker ✔ Vowel counter 💡 Example: text == text[::-1] → checks palindrome Learning how to think logically with code step by step 🚀 #Python #Programming #Coding #LearningJourney #Beginner #TechSkills
To view or add a comment, sign in
-
-
🚀 Understanding Armstrong Numbers in Python Today, I explored the concept of Armstrong Numbers and implemented a simple Python program to check whether a number satisfies this property. 🔍 What is an Armstrong Number? An Armstrong number is a number that is equal to the sum of its digits raised to the power of the total number of digits. 👉 Example: For 153 Digits → 1, 5, 3 Calculation → 1³ + 5³ + 3³ = 1 + 125 + 27 = 153 ✅ 💻 What this code does: Takes a number (e.g., 153) Extracts each digit using modulus and division Raises each digit to the power of total digits Adds the result to compute the sum Compares the sum with the original number Prints whether it is an Armstrong number or not 🧠 Key Concepts Used: While Loop Modulus Operator (%) Integer Division (//) Basic Mathematics Logic 📌 Learning Outcome: This small program helped me strengthen my understanding of: Number manipulation in Python Loop-based problem solving Writing clean logic for mathematical problems 💡 Next Step: Planning to extend this logic to check Armstrong numbers in a given range! #Python #Coding #100DaysOfCode #Programming #Learning #ComputerScience #Developers #CodingJourney
To view or add a comment, sign in
-
-
📘 Python Learning – Day 7 Highlights 🐍 Today’s class was all about improving coding efficiency and writing cleaner Python code 👇 🔹 Loops Revision: Practiced for & while loops with real examples 🔹 Loop Control: Used break, continue, and enumerate() for better control 🔹 List Comprehension: Learned a shorter, more Pythonic way to create lists in one line 🔹 Functions Basics: ✔ Reusable code using def ✔ Passing arguments & returning values 🔹 Utility Functions: Small, reusable functions for common tasks (like even/odd check, calculator, etc.) 💡 Example: [x**2 for x in range(1,6)] → creates squares in one line Writing cleaner, smarter, and more efficient code step by step 🚀 #Python #Programming #Coding #LearningJourney #Beginner #TechSkills
To view or add a comment, sign in
-
-
🚀 Just built a **Stock Portfolio Tracker** using Python! 📊 This project allows users to input stock names and quantities, calculates total investment value, and even saves the portfolio to a file. It’s a simple yet practical application that demonstrates core programming concepts in action. 🔧 **Tech Used:** Python 📌 **Concepts:** Dictionary, Loops, Conditional Statements, File Handling ✨ Features: ✔ Real-time portfolio calculation ✔ Input validation ✔ Supports multiple stocks ✔ Optional file export (.txt / .csv) This project helped strengthen my understanding of problem-solving and building real-world applications with Python. 💡 Next step: Planning to upgrade this with real-time stock APIs and a GUI interface! #Python #Programming #BeginnerProjects #Coding #SoftwareDevelopment #CodeAlpha #AI #LearningJourney #StudentProject
To view or add a comment, sign in
-
Small code. Smart validation. 💡 Today I built a simple Python logic to validate phone numbers in different formats — and it reminded me how powerful basics can be. From checking length to handling formats like: ✔️ 03XXXXXXXXX ✔️ 03XX-XXXXXXX ✔️ +92XXXXXXXXXX This small logic represents something bigger: 👉 Clean input validation 👉 Better user experience 👉 Error prevention in real systems As developers, we don’t just write code — We make systems reliable. Every small project like this improves logic, accuracy, and real-world readiness 🚀 If you're learning programming, focus on the basics — That’s where real strength is built. #Python #CodingJourney #LearnToCode #DeveloperLife #ProblemSolving #TechSkills #BuildInPublic
To view or add a comment, sign in
-
-
📘 Python Learning – Day 6 Highlights 🐍 Today’s class focused on Dictionaries & Loops — key concepts for real programming! 🔹 Dictionaries: Store data using key–value pairs Access, update, and manage data easily using methods like keys(), values(), items(), get() 🔹 Loops in Python: ✔ for loop → when iterations are known ✔ while loop → runs based on condition 🔹 Control Statements: break → stop loop continue → skip iteration 🔹 Practice Programs: ✔ Student record using dictionary ✔ Prime number checker ✔ Factorial calculation 💡 Learning how to store structured data and control program flow step by step 🚀 #Python #Programming #Coding #LearningJourney #Beginner #TechSkills
To view or add a comment, sign in
-
-
🚀 Day 2 of My 30-Day Python Journey Building on the fundamentals, today was all about understanding how Python handles logic and user interaction. 🔹 What I explored today: • Working with operators arithmetic, comparison, and logical • Writing expressions to perform calculations and evaluate conditions • Taking dynamic user input and converting data types • Improving output formatting using clean and readable approaches 💡 Key Takeaway: Programming isn’t just about writing code it’s about thinking logically. Operators and input handling form the backbone of decision-making in any application. 🧪 Practice Focus: Created small programs like a basic calculator and an even/odd checker to reinforce concepts. 📌 Next Step: Moving into conditional statements and control flow to build more intelligent programs. Consistency and clarity are the goal. Let’s keep progressing. 💻 #Python #CodingJourney #LearnToCode #Developers #Programming #TechGrowth #100DaysOfCode
To view or add a comment, sign in
-
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development