Skip to content

sharanya1305/el_python_task1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🐍 Python CLI Calculator (Elevate Labs Internship Task 1)

#Jitta Sharanya - 13/11/2025

🌟 Project Overview

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.

βš™οΈ Key Concepts Demonstrated

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

πŸš€ How to Run the App

  1. Clone the Repository:
    git clone [https://github.com/sharanya1305/el_python_task1](https://github.com/sharanya1305/el_python_task1)
    cd el_python_task1
  2. Execute the Script: Run the script directly from your terminal:
    python calculator.py
  3. Interaction: The app will prompt you to select an operation (1-5). Enter your choice and the required numbers.

πŸ’Ύ Outcome: Database Concepts & Schema Knowledge

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages