Ans:
And below Python concepts are used to print that patterns
- For Loop
- While Loop
- if..else
1). Program to print half pyramid pattern using star(*) in Python

Output

2). Program to print inverted half pyramid pattern using star(*) in Python

Output

3). Program to print right half pyramid pattern using star(*) in Python

Output

4). Program to print inverted right half pyramid pattern using star(*) in Python

Output

5). Program to print full pyramid pattern using star(*) in Python

Output

6). Program to print inverted full pyramid pattern using star(*) in Python

Output

7). Program to print half pyramid pattern using numbers in Python

Output

8). Program to print inverted half pyramid pattern using numbers in Python

Output
