Skip to content

Aaisha-Shaikh-16/CodeAlpha_PythonProgramming_Tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

CodeAlpha_PythonProgramming_Tasks

Hangman Game

Goal:

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

Simplified Scope:

● Use a small list of 5 predefined words (no need to use a file or API). 
● Limit incorrect guesses to 6.
● Basic console input/output — no graphics or audio.

Key Concepts Used:

random, while loop, if-else, strings, lists.

Stock Portfolio Tracker

Goal:

Build a simple stock tracker that calculates total investment based on manually defined stock prices.

Simplified Scope:

● User inputs stock names and quantity.

● Use a hardcoded dictionary to define stock prices (e.g., {"AAPL": 180, "TSLA": 250}).

● Display total investment value and optionally save the result in a .txt or .csv file.

Key Concepts Used:

dictionary, input/output, basic arithmetic, file handling (optional).

Basic Chatbot

Goal:

Build a simple rule-based chatbot.

Scope:

. Input from user like: "hello", "how are you", "bye".
. Predefined replies like: "Hi!", "I'm fine, thanks! ", "Goodbye!".

Key Concepts Used:

if-elif, functions, loops, lists, input/output.

About

This repository contains all the Python Programming tasks done under the CodeAlpha's Python Programming Internship.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages