# python tutorial - Pyramid Python | Programs for printing pyramid patterns in Python - learn python - python programming

Patterns can be printed in python using simple for loops. First outer loop is used to handle number of rows and Inner nested loop is used to handle the number of columns. Manipulating the print statements, different number patterns, alphabet patterns or star patterns can be printed.

## Simple pyramid pattern

Let us see how to print Half Triangle Pyramid pattern using an asterisk (star):

Output:

```*
* *
* * *
* * * *
* * * * *
```

## After 180 degree rotation

python programming - Output :

```        *
* *
* * *
* * * *
* * * * *
```

Python program to reverse a number.

## Printing Triangle

Let us see how to print Full Triangle Pyramid pattern using an asterisk (star) :

python programming - Output :

```    *
* *
* * *
* * * *
* * * * *
```

## Number Pattern

Here we will see how to print Half Triangle Pyramid pattern using numbers:

python programming - Output :

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

## Numbers without re assigning

python programming - Output :

```1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
```

## Character Pattern

Here we will see how to print Half Triangle Pyramid pattern using continous characters:

python programming - Output :

```A
B B
C C C
D D D D
E E E E E
```

## Continuous Character pattern

Here we will see how to print Half Triangle Pyramid pattern using alphabets:

python - Sample - python code :

python programming - Output :

```A
B C
D E F
G H I J
K L M N O
```

# UP NEXT IN Python Programming

Wikitechy tutorial site provides you all the learn python , online python course with certificate , python coding course , python scripting course python programming course online free