A collection of simple and fun Python projects to practice core programming concepts. Each script is interactive and beginner-friendly.
Perform basic arithmetic operations:
- โ Addition
- โ Subtraction
- โ๏ธ Multiplication
- โ Division
Includes:
โ
Handles division by zero
โ
User input for numbers and operations
A simple two-player card game.
Features:
- Choose between:
๐ด 56-card deck
๐ต 36-card deck - Each player receives 6 cards
- Points are calculated to determine the winner
- Results are stored in a victory history log
Check if a given word or phrase is a palindrome.
Features:
- ๐ Case-insensitive checking
- Example:
"RaceCar"โ โ Palindrome
Sort a list of numbers using the Bubble Sort algorithm.
Features:
- User inputs a list of numbers
- List is sorted in ascending order
- Easy-to-follow sorting visualization
Generate fake data using the faker library.
Generates:
- ๐ค Random names
- ๐ Random cities
Perfect for testing and demo purposes!
- Ensure you have Python 3 installed.
- Install required dependencies:
pip install faker
Run any script:
python calculator.py
python card_game.py
python palindrome_checker.py
python bubble_sort.py
python fake_data_generator.py
๐ Project Structure
main/
โโโ calculator.py
โโโ card_game.py
โโโ palindrome_checker.py
โโโ bubble_sort.py
โโโ fake_data_generator.py
โโโ README.md