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

 
 
 

Contributors

Languages