Skip to content

shivasankari27/programming-for-everybody

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

programming-for-everybody

Mini project from Coursera Python course

🧮 Advanced Python Calculator

🎓 Course: Programming for Everybody (Getting Started with Python)
🏛️ Platform: Coursera – University of Michigan
👨‍🏫 Instructor: Dr. Charles Severance (Dr. Chuck)
👩‍💻 Student: Shivasankari V A
🗂️ GitHub: @shivasankari27


📚 Project Overview

This is a beginner-friendly command-line calculator built in Python. It was developed as my first project after completing the Coursera course "Programming for Everybody". The goal was to apply what I learned about functions, loops, and user interaction in a real-world context.

The calculator supports a wide range of arithmetic operations and is designed for repeated, interactive use in the terminal.


✨ Features

  • ✅ Addition
  • ✅ Subtraction
  • ✅ Multiplication
  • ✅ Division (with zero-check)
  • ✅ Modulus (%)
  • ✅ Power (Exponentiation)
  • ✅ Floor Division (//)
  • 🔁 Continuous use with a while loop
  • 🧠 Clean and modular code structure

🧠 What I Learned

  • How to define reusable functions in Python
  • Implementing loops to create interactive applications
  • Taking and validating user input
  • Preventing runtime errors (e.g., dividing by zero)
  • Writing clean, readable, and modular code

🛠 Tools Used

  • 🐍 Python 3.13.3
  • 💻 Visual Studio Code / Replit
  • 🗃 Git & GitHub (Version control)

▶️ How to Run

To run this calculator:

  1. Make sure Python 3 is installed on your computer
  2. Clone this repository or download the calculator.py file
  3. Open your terminal or command prompt
  4. Navigate to the directory containing the file
  5. Run the program using:
python calculator.py

About

Mini project from Coursera Python course

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages