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
![half pyramid pattern programquescol](https://quescol.com/wp-content/uploads/2020/04/half-pyramid-quescol.jpg)
Output
![](https://quescol.com/wp-content/uploads/2020/06/Half-Pyramid-Pattern-in-c.jpg)
2). Program to print inverted half pyramid pattern using star(*) in Python
![inverted half pyramid program quescol](https://quescol.com/wp-content/uploads/2020/04/inverted-half-pyramid-quescol.jpg)
Output
![Inverted Half Pyramid Pattern in c](https://quescol.com/wp-content/uploads/2020/06/Inverted-Half-Pyramid-Pattern-in-c.jpg)
3). Program to print right half pyramid pattern using star(*) in Python
![right half pyramid program quescol](https://quescol.com/wp-content/uploads/2020/04/right-half-pyramid-quescol.jpg)
Output
![](https://quescol.com/wp-content/uploads/2020/06/right-half-pyramid-pattern-using-star.jpg)
4). Program to print inverted right half pyramid pattern using star(*) in Python
![right inverted half pyramid program in c quescol](https://quescol.com/wp-content/uploads/2020/04/right-inverted-half-pyramid-quescol.jpg)
Output
![Right Inverted Half Pyramid Pattern in c](https://quescol.com/wp-content/uploads/2020/06/Right-Inverted-Half-Pyramid-Pattern-in-c.jpg)
5). Program to print full pyramid pattern using star(*) in Python
![full pyramid pattern program in c using star quescol](https://quescol.com/wp-content/uploads/2020/04/full-pyramid-using-star.jpg)
Output
![Full Pyramid Pattern in c](https://quescol.com/wp-content/uploads/2020/06/Full-Pyramid-Pattern-in-c.jpg)
6). Program to print inverted full pyramid pattern using star(*) in Python
![inverted full pyramid pattern program in c using star](https://quescol.com/wp-content/uploads/2020/04/inverted-full-pyramid-using-star.jpg)
Output
![Inverted Full Pyramid Pattern in c](https://quescol.com/wp-content/uploads/2020/06/Inverted-Full-Pyramid-Pattern-in-c.jpg)
7). Program to print half pyramid pattern using numbers in Python
![half pyramid using number in C](https://quescol.com/wp-content/uploads/2020/04/half-pyramid-using-number.jpg)
Output
![Half Pyramid Pattern in c of number](https://quescol.com/wp-content/uploads/2020/06/Half-Pyramid-Pattern-in-c-of-number.jpg)
8). Program to print inverted half pyramid pattern using numbers in Python
![inverted half pyramid using number program in c](https://quescol.com/wp-content/uploads/2020/04/inverted-half-pyramid-using-number.jpg)
Output
![Inverted Half Pyramid Pattern in c of number](https://quescol.com/wp-content/uploads/2020/06/Inverted-Half-Pyramid-Pattern-in-c-of-number.jpg)