Floyd’s Triangle Pattern in Python

Hello everyone, welcome back to programminginpython.com! I am going to create a new series on pattern programming, I will start with Floyd’s Triangle pattern.

Floyd’s Triangle pattern – programminginpython.com

A Floyd’s Triangle is a right-angled triangle which is defined by filling the rows of the triangle with consecutive numbers, starting with a 1 in the top left corner. It can also be filled with *’s or any characters as we want. Here I will show you two examples one with numbers and one with *’s.