Skip to content

A collection of small projects and exercises completed as part of the Python Fundamentals course at SoftUni

Notifications You must be signed in to change notification settings

vivitoa/PythonFundamentalsProjects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Pattern Drawing Program 🌟

🔗 View the Python Pattern Drawing Code

A simple Python program that allows users to generate various patterns, including triangles, squares, diamonds, pyramids, and more. The patterns are displayed in colorful outputs using the Colorama library and can be saved to a file.

Features

  • Generate patterns like:
    • Right-angled Triangle
    • Square with Hollow Center
    • Diamond
    • Left-angled Triangle
    • Hollow Square
    • Pyramid
    • Reverse Pyramid
    • Rectangle with Hollow Center
  • Save patterns to a pattern.txt file.
  • User-friendly menu with restart and exit options.

Requirements

  • Python 3.x
  • Colorama library (pip install colorama)

How to Run

  1. Clone the repository or copy the script.
  2. Install the required library:
    pip install colorama
  3. Run the program:
    python pattern_drawing.py
  4. Follow the menu to generate and save patterns. 🎨

Enjoy creating colorful patterns! ✨

About

A collection of small projects and exercises completed as part of the Python Fundamentals course at SoftUni

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages