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.
- 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
- Python 3.6 or higher
- Works on all major terminals (Windows, macOS, Linux)
python ascii_art.pypython ascii_art.py --pattern pyramid