rows = int (input("Please Enter the Total Number Of Rows:"))
number = 1
print("Floyd's Triangle")
for i in range (1,rows+ 1):
for j in range (1,i + 1):
print(number,end=" ")
number = number + 1
print()
To embed this project on your website, copy the following code and paste it into your website's HTML: