Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

🧮 Basic Calculator (Python)

A beginner-friendly Python program that performs basic arithmetic operations — addition, subtraction, multiplication, and division — based on user input.

🚀 How It Works

  1. Asks the user for two numbers
  2. Prompts for an operation (+, -, *, or /)
  3. Performs the operation
  4. Prints the result to the console

💡 Example

Enter the first number: 10
Enter the second number: 5
Enter an operation (+, -, *, /): *
10.0 * 5.0 = 50.0

📂 File

  • calculator.py: Main program file

🧑‍💻 Author

Augusto Mate
📧 mate.augusto.mz@gmail.com

🪪 License

This project is licensed under the MIT License.

About

This project was created as part of an Intro to Python Assignment. It demonstrates basic syntax, user input handling, conditionals, and arithmetic operations in a simple and practical way.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages