Skip to content

Conversation

@kiranb1301
Copy link

This PR introduces Python implementations for the pattern problems in the DSA series.

  • Mirrors Java versions in Python for better accessibility.
  • Organized under /PythonPatterns/PatternPart1/ and /PythonPatterns/PatternPart2/.
  • Code is clean, modular, and easy to extend.

Usage

  1. Navigate to the Python solutions folder:
      cd /PythonPatterns/PatternPart1/
      cd /PythonPatterns/PatternPart2/
  2. Run any pattern file using Python 3:
      python HalfPyramid.py
  3. Output:
       Enter number : 5
       1
       12
       123
       1234
       12345

@kiranb1301 kiranb1301 changed the title Add Python pattern solutions Added Python pattern solutions Sep 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant