Skip to content

Codsoft internship projects for Python Programming

Notifications You must be signed in to change notification settings

itsme-Muthu/CODSOFT

Repository files navigation

CODSOFT

Codsoft Internship Projects for Python Programming

Task 1: To-Do List application

The provided Python program is a command-line To-Do List application using the pickle module for binary file handling. It allows users to:
  • Add new tasks.
  • View all tasks.
  • Update existing tasks.
  • Delete tasks.
  • Mark tasks as complete.

The program continuously displays a menu for these operations until the user chooses to exit.

image

image

image


Task 2: Simple Calculator

The provided Python code is a command-line Basic Calculator that performs addition, subtraction, multiplication, division, remainder, and exponentiation. It includes:

  1. Functions for each arithmetic operation.
  2. A function to display available operations.
  3. A Calculator() function that loops to:
    • Display the menu.
    • Get user input for operations and numbers.
    • Perform the selected operation.
    • Ask if the user wants to continue.

The program repeats until the user chooses to exit.

image

image


Task 3: Password Generator

The provided Python code is a command-line Password Generator that creates a strong password with at least one letter, one number, and one special character, with a minimum length of 8 characters.

  1. passwordGenerator(length): Generates and returns a password meeting all criteria.
  2. password(): Prompts for password length (minimum 8), generates, and prints the password. The program ensures the password is strong and secure.

image


Task 4: Rock-Paper-Scissors Game

The Python code is a command-line Rock-Paper-Scissors game where players compete against the computer. It includes:

  • Rules are displayed at the start.
  • Choices (Rock, Paper, Scissors) presented for player input.
  • Random computer choice generation.
  • Determination of round winners based on game rules.
  • Score tracking for both player and computer across multiple rounds.
  • Final score display and declaration of the overall winner based on the highest score.
  • It provides a simple and interactive game experience with clear outcomes after each round and at the end of the game session.

image

image


Task 5: Contact Book

The program provides basic functionalities for managing a contact book:

  • Adding new contacts.
  • Viewing all contacts.
  • Searching for specific contacts by name or phone number.
  • Deleting contacts.
  • Updating contact information.

It utilizes binary file handling with pickle for data storage and retrieval, ensuring persistence across sessions. The menu-driven interface facilitates user interaction, making it straightforward to perform operations on the contact book data.

image

image

image

About

Codsoft internship projects for Python Programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages