#Jitta Sharanya - 13/11/2025
This project is the solution for Task 1 of the Elevate Labs Python Developer Internship. The objective was to create a command-line interface (CLI) calculator that supports basic arithmetic operations and demonstrates foundational Python programming concepts.
| Concept | Implementation in calculator.py |
|---|---|
| Functions | [cite_start]Separate functions (add, subtract, multiply, divide) are used for each operation[cite: 8]. |
| Loops | [cite_start]A while True loop is used to keep the calculator running until the user selects the 'Exit' option[cite: 10, 23]. |
| Conditionals | if/elif/else statements handle the user's operation choice and basic error handling (like division by zero). |
| CLI Interaction | [cite_start]The built-in input() function is used to take user input for the operation choice and the two numbers[cite: 9, 23]. |
- Clone the Repository:
git clone [https://github.com/sharanya1305/el_python_task1](https://github.com/sharanya1305/el_python_task1) cd el_python_task1 - Execute the Script:
Run the script directly from your terminal:
python calculator.py
- Interaction: The app will prompt you to select an operation (1-5). Enter your choice and the required numbers.
The task also required summarizing key database concepts.
[cite_start]The main types of relationships are **One-to-One (1:1)**, **One-to-Many (1:M)**, and **Many-to-Many (M:N)**[cite: 19].
- [cite_start]What is the default storage engine in MySQL? [cite: 21] [cite_start]The default storage engine in MySQL is InnoDB[cite: 21].