Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 703 Bytes

File metadata and controls

32 lines (19 loc) · 703 Bytes

🧮 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.