Skip to content

ShubhangiTeke/codealpha_task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Programming Basic Projects

A collection of beginner-friendly Python projects demonstrating core programming concepts such as loops, conditionals, file handling, automation, dictionaries, and string manipulation.

Projects Included

  1. Hangman Game

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

Features Random word selection from a predefined list Maximum 6 incorrect guesses Tracks guessed letters Displays current word progress Win/Loss conditions Concepts Used random while loops if-else statements Strings Lists

  1. Stock Portfolio Tracker

A basic portfolio tracker that calculates the total investment value based on user-entered stock quantities and predefined stock prices.

Features User inputs stock names and quantities Hardcoded stock price dictionary Calculates total portfolio value Optional saving of results to .txt or .csv Concepts Used Dictionaries User input/output Arithmetic operations File handling

  1. Task Automation Script

A Python automation script designed to simplify repetitive tasks.

Move all .jpg files to another folder Extract email addresses from a text file Scrape a webpage title and save it Concepts Used os shutil re requests File handling

  1. Basic Chatbot

A simple rule-based chatbot that responds to predefined user inputs.

Features Responds to greetings Answers simple questions Ends conversation when the user types "bye" Example

User: hello Bot: Hi!

User: how are you Bot: I'm fine, thanks!

User: bye Bot: Goodbye!

Concepts Used Conditional statements Loops Functions String processing

Requirements Python 3.x Installation git clone https://github.com/your-username/your-repository-name.git cd your-repository-name Running the Projects Hangman Game python hangman.py Stock Portfolio Tracker python stock_tracker.py Task Automation python automation.py Chatbot python chatbot.py Learning Outcomes

Through these projects, I practiced: Python fundamentals Problem-solving skills Data structures (lists and dictionaries) File handling Automation scripting User interaction through console applications Author: Shubhangi Teke

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages