A simple Python program that performs basic arithmetic operations such as addition, subtraction, multiplication, and division. It allows users to input two numbers and choose an operation.
- Addition
- Subtraction
- Multiplication
- Division
Choose an operation:
- Add (+)
- Subtract (-)
- Multiply (*)
- Divide (/)
What operation would you like to perform? (1/2/3/4): 1 Enter the first number: 5 Enter the second number: 3 5.0 + 3.0 = 8.0