Simple Arithmetic Calculator This is a basic Python script that prompts the user for two numbers and performs simple arithmetic operations: addition, subtraction, multiplication, and division. The results are then displayed to the user.
Features Takes two numeric inputs from the user
Calculates:
Sum
Difference
Product
Quotient
Displays the calculated results clearly
How to Use Run the script in a Python environment (Python 3.x recommended).
When prompted, enter the first number.
When prompted again, enter the second number.
The program will then calculate and display:
The sum of the two numbers
The difference (first number minus second)
The product of the two numbers
The quotient (first number divided by second)
Example
yaml
Copy
Edit
Enter the first number: 10
Enter the second number: 5
Results of your two numbers:
Sum: 15.0
Difference: 5.0
Product: 50.0
Quotient: 2.0
Notes
The script uses float() to allow decimal inputs.
Division by zero will raise an error. You may consider adding error handling for this in future versions.
Requirements Python 3.x
License This project is provided as-is for learning purposes.