Skip to content

marven3301/python-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงฐ Python Mini Projects Collection

A collection of simple and fun Python projects to practice core programming concepts. Each script is interactive and beginner-friendly.


๐Ÿ“ฆ Features

1. ๐Ÿงฎ Calculator

Perform basic arithmetic operations:

  • โž• Addition
  • โž– Subtraction
  • โœ–๏ธ Multiplication
  • โž— Division

Includes:
โœ… Handles division by zero
โœ… User input for numbers and operations


2. โ™ ๏ธ Card Game

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

3. ๐Ÿ” Palindrome Checker

Check if a given word or phrase is a palindrome.

Features:

  • ๐Ÿ” Case-insensitive checking
  • Example: "RaceCar" โ†’ โœ… Palindrome

4. ๐Ÿ“Š Bubble Sort

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

5. ๐Ÿงช Fake Data Generator

Generate fake data using the faker library.

Generates:

  • ๐Ÿ‘ค Random names
  • ๐ŸŒ† Random cities

Perfect for testing and demo purposes!


๐Ÿš€ How to Run

  1. Ensure you have Python 3 installed.
  2. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages