Skip to content

Manaswinisaroja/Pattern-Printing-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Pattern-Printing-Python

Pattern Printing Using Python

๐Ÿงฎ Pattern Printing in Python

Welcome to the Pattern Printing repository! This repository contains a collection of Python programs that generate various text-based patterns using numbers, symbols, and characters. Itโ€™s ideal for:

  • Beginners learning loops and control structures
  • Students preparing for pattern-based coding questions
  • Anyone interested in creative coding exercises

๐Ÿ“‚ Current File

PatternPrint.py

This file includes multiple basic to intermediate-level patterns, such as:

  • Square and triangular star patterns
  • Right and left-aligned pyramids
  • Increasing and decreasing numeric sequences
  • Repeated numbers and counting patterns
  • Reverse and character-based pyramids

Each block includes a preview of its output using multi-line comments for clarity.


๐Ÿ“ŒOutputs

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

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


1 
2 2
3 3 3
4 4 4 4
5 5 5 5 5


1
1 2
1 2 3
1 2 3 4
1 2 3 4 5

1 1 1 1 1
2 2 2 2
3 3 3
4 4
5


5 5 5 5 5
5 5 5 5
5 5 5
5 5
5


0 1 2 3 4 5 6
0 1 2 3 4 5
0 1 2 3 4
0 1 2 3
0 1 2
0 1

1
3 3
5 5 5
7 7 7 7
9 9 9 9 9

5 5 5 5 5
4 4 4 4
3 3 3
2 2
1

5 4 3 2 1
4 3 2 1
3 2 1
2 1
1


1
2 3
4 5 6
7 8 9 10

1
2 1
3 2 1
4 3 2 1
5 4 3 2 1

5 4 3 2 1
4 3 2 1
3 2 1
2 1
1

A
B C
D E F

๐Ÿ“„ License

This repository is licensed under the MIT License, which means you are free to use, share, and modify the code with proper credit.


๐Ÿ™Œ Connect

Feel free to โญ star the repo if you found it helpful, and share it with your friends or classmates who are learning Python!

Letโ€™s make pattern coding fun and accessible for everyone. More updates and new patterns coming soon โ€” stay tuned! โœจ

About

Pattern Printing Using Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages