Skip to content

abdulsamad-codes/CodeAlpha_PythonProjects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ CodeAlpha Python Projects

This repository contains the projects I completed as part of my Python Programming Internship at CodeAlpha.
The internship focused on building hands-on experience with Python fundamentals, data structures, file handling, OOP concepts, and real-world applications.


πŸ“Œ Internship Overview

  • Organization: CodeAlpha
  • Domain: Python Programming
  • Duration: [Add your duration, e.g., 1 Month / 6 Weeks]
  • Focus Areas:
    • Python basics & problem-solving
    • File handling & automation
    • Data structures & OOP concepts
    • Practical mini-projects

βœ… Completed Tasks

πŸ”Ή Task 1: Hangman Game

A simple text-based Hangman game where the player guesses a word one letter at a time.

  • Uses: random, while, if-else, lists, strings
  • Maximum 6 incorrect guesses allowed
  • Predefined list of 5 words

πŸ“‚ File: Task1_Hangman/hangman.py
▢️ Run with:

python hangman.py
πŸ”Ή Task 2: Stock Portfolio Tracker
A program to calculate total investment value based on user input and predefined stock prices.

Uses: dictionary, loops, input/output, file handling

Stock prices are hardcoded (AAPL, TSLA, MSFT, AMZN)

Saves results in a portfolio.txt file

πŸ“‚ File: Task2_StockPortfolio/stock_portfolio.py
▢️ Run with:

bash
Copy code
python stock_portfolio.py
πŸ”Ή Task 3: Task Automation Script
Automates moving all .jpg files from one folder to another.

Uses: os, shutil, file handling

Creates a destination folder if it doesn’t exist

Demonstrates Python for real-life automation

πŸ“‚ File: Task3_Automation/automation.py
▢️ Run with:

bash
Copy code
python automation.py
(Make sure you create a source_folder with .jpg files before running.)

πŸ”Ή Task 4: Basic Chatbot
A simple rule-based chatbot with predefined responses.

Uses: functions, loops, if-elif

Handles greetings, questions, and exit (bye)

πŸ“‚ File: Task4_Chatbot/chatbot.py
▢️ Run with:

bash
Copy code
python chatbot.py
πŸ›  Tech Stack Used
Python 3.x

Built-in Libraries: os, shutil, random

πŸ“‚ Repository Structure
Copy code
CodeAlpha_PythonProjects/
β”‚
β”œβ”€β”€ Task1_Hangman/
β”‚   └── hangman.py
β”‚
β”œβ”€β”€ Task2_StockPortfolio/
β”‚   └── stock_portfolio.py
β”‚
β”œβ”€β”€ Task3_Automation/
β”‚   └── automation.py
β”‚
β”œβ”€β”€ Task4_Chatbot/
β”‚   └── chatbot.py
β”‚
└── README.md
πŸ“œ Acknowledgment
This project was completed as part of my Python Internship at CodeAlpha.
Grateful for the opportunity to learn, practice, and build real-world Python applications.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages