I am learning Python and using this repository to document my progress. It contains exercises and projects from Day 1 through Day 26.
- Variables, data types, strings, and mathematical operations
- User input, type conversion, and number manipulation
- Conditional statements and logical operators
- Lists, dictionaries, and nested data structures
forandwhileloops- Functions, parameters, return values, and scope
- Debugging and problem-solving techniques
- Randomization and working with Python modules
- Object-oriented programming with classes and objects
- Event listeners and graphical programs using Turtle
- Breaking larger programs into multiple Python files
- Reading, writing, and appending text files
- Relative paths, absolute paths, and
pathlib - Saving data between program runs
- Reading and writing CSV files with Python's
csvmodule and pandas - Working with pandas DataFrames and Series
- Selecting columns, filtering rows, and analysing tabular data
- Creating and filtering lists with list comprehensions
- Creating and filtering dictionaries with dictionary comprehensions
- Looping through pandas DataFrame rows with
iterrows() - Converting words into NATO phonetic alphabet code words
A command-line program that reads the NATO phonetic alphabet from a CSV file, creates a lookup dictionary with a dictionary comprehension, and converts a word entered by the user into its phonetic code words.
Navigate to Day 26/NATO-alphabet to see the
project.
An interactive Turtle-based geography game where the player names U.S. states and correct answers are written at their map coordinates. When the game ends, the states that still need practice are saved to a CSV file.
Navigate to Day 25/us-states-game to see the
project.
A file-handling project that reads a list of names and a letter template, replaces the name placeholder, and saves a personalized letter for every recipient.
Navigate to Day 24/Mail Merge Project to
see the project.
A Turtle-based road-crossing game where the player avoids moving cars and tries to reach the other side. Each successful crossing increases the level and makes the cars move faster.
Navigate to Day 23 to see the project.
A two-player Pong game built with Turtle. It includes paddle controls, ball movement, collision detection, scoring, and gradually increasing ball speed.
Navigate to Day 22 to see the project.
The classic Snake game, organized into separate classes for the snake, food, and scoreboard. It now saves the high score between program runs and resets the game after a collision so the player can keep trying.
Navigate to Day 20_21 to see the project.
An object-oriented quiz application that stores questions as objects, checks the player's answers, and keeps track of the score.
Navigate to Day 17/quiz-game-start to see the
project.
A coffee-machine simulation that handles drink selection, resources, payments, and change. Day 16 rebuilds the program using object-oriented programming.
Navigate to Day 15/Coffee Machine Project
or Day 16/oop-coffee-machine-start.
A comparison game where the player guesses which public figure has more followers while trying to build a winning streak.
Navigate to Day 14/Higher or Lower Project.
A command-line version of Blackjack featuring card dealing, score calculation, computer turns, and win-or-lose decisions.
Navigate to Day 11/task to see the project.
The earlier folders contain projects such as a calculator, blind auction,
Caesar cipher, Hangman, password generator, rock-paper-scissors, treasure
island, and a tip calculator. Browse the Day 1 through
Day 26 folders to follow my progress.
Days 25 and 26 use pandas for CSV data analysis and DataFrame exercises. Install it from the repository root with:
python -m pip install -r "Day 25/requirements.txt"