Pattern Searching in Python

In the previous article we saw how String comparison works, in this article we will see how we can deal with a common computer science problem ..we have a large text and then we have a pattern. Our task is to find all occurrences of this pattern within this large text. This is a very … Read more

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

Inverted Triangle pattern in Python

In the previous article we explored the implementation and approach towards Triangle pattern in Python, now we will explore the concept and implementation of the Inverted Triangle pattern in Python. It operates according to the user input, for example for the number 4 it would return: Implementation/Working of Inverted Triangle pattern in Python The pattern … Read more