Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.MD

🌟 ASCII Art Patterns in Terminal

A fun Python script that prints ASCII art patterns like squares, triangles, pyramids, diamonds, and more — all generated using simple loops.

The script is PEP 8 compliant, under 100 lines, and fully customizable via command-line arguments.


🧠 Features

  • Prints multiple ASCII art patterns:
    • 🟩 Square (filled or hollow)
    • 🔺 Triangle (filled or hollow)
    • 🏔️ Pyramid
    • 💎 Diamond
    • ⏳ Hourglass
    • ♟️ Checkerboard
    • ❌ X Pattern
  • Adjustable pattern size
  • Optional hollow mode
  • Lightweight (no dependencies)
  • 100% PEP 8 compliant

🛠️ Requirements

  • Python 3.6 or higher
  • Works on all major terminals (Windows, macOS, Linux)

🚀 Usage

Run the default pattern (Diamond)

python ascii_art.py

Choose a specific pattern

python ascii_art.py --pattern pyramid