0% found this document useful (0 votes)
4 views6 pages

Pattern Examples

The document provides various examples of patterns in Python, categorized into three types: Solid Square Patterns, Right Angle Patterns, and Right Sided Patterns. Each category contains ten specific examples, demonstrating how to create patterns using numbers, asterisks, and letters. The patterns vary in complexity and format, showcasing different arrangements and alignments.

Uploaded by

05-Bibek Khadka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views6 pages

Pattern Examples

The document provides various examples of patterns in Python, categorized into three types: Solid Square Patterns, Right Angle Patterns, and Right Sided Patterns. Each category contains ten specific examples, demonstrating how to create patterns using numbers, asterisks, and letters. The patterns vary in complexity and format, showcasing different arrangements and alignments.

Uploaded by

05-Bibek Khadka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Pattern Examples in Python

Solid Square Patterns (10 examples)

1. Numbers:
12345
12345
12345
12345
12345

2. Asterisks:
*****
*****
*****
*****
*****

3. Alphabets:
ABCDE
ABCDE
ABCDE
ABCDE
ABCDE

4. D Pattern:
DDDDD
DDDDD
DDDDD
DDDDD
DDDDD

5. E Pattern:
EEEEE
EEEEE
EEEEE
EEEEE
EEEEE

6. F Pattern:
FFFFF
FFFFF
Pattern Examples in Python

FFFFF
FFFFF
FFFFF

7. G Pattern:
GGGGG
GGGGG
GGGGG
GGGGG
GGGGG

8. H Pattern:
HHHHH
HHHHH
HHHHH
HHHHH
HHHHH

9. I Pattern:
IIIII
IIIII
IIIII
IIIII
IIIII

10. J Pattern:
JJJJJ
JJJJJ
JJJJJ
JJJJJ
JJJJJ

Right Angle Patterns (10 examples)

1. Right Angle Pattern:


1
11
111
1111
11111
Pattern Examples in Python

2. Right Angle Pattern:


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

3. Right Angle Pattern:


3
33
333
3333
33333

4. Right Angle Pattern:


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

5. Right Angle Pattern:


5
55
555
5555
55555

6. Right Angle Pattern:


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

7. Right Angle Pattern:


7
77
777
7777
77777
Pattern Examples in Python

8. Right Angle Pattern:


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

9. Right Angle Pattern:


9
99
999
9999
99999

10. Right Angle Pattern:


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

Right Sided Patterns (10 examples)

1. Right Sided Pattern:


A
AA
AAA
AAAA
AAAAA

2. Right Sided Pattern:


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

3. Right Sided Pattern:


C
CC
Pattern Examples in Python

CCC
CCCC
CCCCC

4. Right Sided Pattern:


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

5. Right Sided Pattern:


E
EE
EEE
EEEE
EEEEE

6. Right Sided Pattern:


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

7. Right Sided Pattern:


G
GG
GGG
GGGG
GGGGG

8. Right Sided Pattern:


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

9. Right Sided Pattern:


I
Pattern Examples in Python

II
III
IIII
IIIII

10. Right Sided Pattern:


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

You might also like