elevatelabsassignment1

Calculator CLI App

A simple command-line calculator application built with Python. This app supports basic arithmetic operations and provides a user-friendly CLI interface.

Features

Usage

  1. Run the calculator:
    python3 calculator.py
    
  2. Follow the on-screen prompts:
    • Select the operation (Add, Subtract, Multiply, Divide, or Exit)
    • Enter two numbers when prompted
    • View the result
    • Repeat or exit as desired

Example

Welcome to the CLI Calculator!

Select operation:
1. Add (+)
2. Subtract (-)
3. Multiply (*)
4. Divide (/)
5. Exit
Enter choice (1/2/3/4/5): 1
Enter first number: 10
Enter second number: 5
Result: 15.0

Requirements


Author: [Your Name]