How to print different triangular pattern?
Hi everyone if you are a beginner and interested in python then follow my blog, here I post problems and their answers. If you have any questions please comment below I will definitely answer.

Triangular pattern #2

CODE
m=int(input("enter the number \n "))
for i in range(0,m):
for j in range(i,m):
print("#",end=" ")
print()
if you have any problems regarding the solution or have a different approach to solve the problems comment down below.
Click on "python problems" for more problems in python.
Comments
Post a Comment