Skip to content

wyattmatt/PyPatterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

PyPatterns

Welcome to PyPatterns, a collection of shapes and patterns created with Python using asterisk (*) characters. This repository is perfect for exploring text-based designs and honing your Python programming skills!

Features

  • A variety of patterns and shapes including:
    • Triangles
    • Squares
    • Diamonds
    • Pyramids
    • Custom designs
  • Simple and beginner-friendly Python code.
  • Great for learning loops and creative coding.

Getting Started

Prerequisites

  • Python 3.x installed on your machine.
  • A code editor or IDE (e.g., VS Code, PyCharm, or even a text editor).

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/wyattmatt/PyPatterns.git
  2. Navigate to the project folder:

    cd PyPatterns

Usage

  1. Open any of the Python files in your editor.

  2. Run the script to see the pattern printed in the terminal.

    python filename.py
  3. Modify the parameters (if applicable) to customize the patterns.

Examples

Here are some example patterns you can generate:

Pyramid

    *
   ***
  *****
 *******

Diamond

   *
  ***
 *****
*******
 *****
  ***
   *

Square

*****
*   *
*   *
*   *
*****

Contributing

Contributions are welcome! If you'd like to add new patterns or improve existing ones:

  1. Fork the repository.
  2. Create a new branch.
  3. Commit your changes.
  4. Submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Feedback

If you have any suggestions, questions, or issues, feel free to open an issue or contact me directly.

Happy coding and enjoy creating awesome patterns with PyPatterns! 🎉

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages