Pyramid pattern in Python

In the previous article we explored the printing of Inverted triangle patterns in Python, now we will look at the implementation of Pyramid pattern in Python. We accept the input value from the user and print a * pattern resembling a pyramid structure which is respective to the number entered by the user in it’s … Read more

Printing of Triangle Patterns in Python

In the previous article we explored the printing of square patterns in Python, now let us look at another common printing pattern, the printing of triangle patterns in Python. The program prints the triangle according to the respective values given by the user, suppose the user enters the value of 4 the resultant output is: … Read more