Logo Image
Mohammad Zaatari

Simple Calculator and Password Generator 🧮🔒

These Python projects, developed as part of the CodSoft internship program, feature two practical tools: a Simple Calculator for basic arithmetic operations and a Password Generator for creating secure passwords. These easy-to-use, command-line applications are ideal for everyday tasks.

Project Image

Calculator Features 📐

  • Basic Operations: Perform addition, subtraction, multiplication, and division.
  • Error Handling: Division by zero is managed gracefully with an error message.
  • User Input: Accepts two numbers and an operation choice from the user.
  • Result Display: Shows calculation results, handling integers and floats accordingly.

Password Generator Features 🔐

  • Customizable Length: Allows users to specify the desired length of the password.
  • Strong Passwords: Generates passwords containing letters, digits, and special characters.
  • Randomness: Ensures high security by using a random combination of characters.

Technologies Used 🖥️

  • Python: The core language used for scripting both tools.
  • Standard Libraries: Utilizes 'random' and 'string' libraries for password generation.

Usage Instructions 📖

  1. Run the script in a Python environment.
  2. For the calculator, enter the numbers and choose the operation.
  3. For the password generator, enter the desired password length when prompted.
  4. View the results displayed in the command line.

Tools Used

Python