TRIANGULAR PATTERN # 3 looks great, right? now how to do it, believe me guys its easy. I suggest you to first try it yourself then look down the answer. #code m=int(input("enter the number ")) k=0 x=m while k<=x: for i in range(0,m): print(" ",end=" ") for j in range(0,k): print("#",end=" ") k+=1 m-=1 print()
Search This Blog
Python Practice
Posts
Featured
Latest posts
How to print different triangular pattern?
- Get link
- X
- Other Apps
How to print different triangular pattern?
- Get link
- X
- Other Apps
How to find out LCM of two numbers in python?
- Get link
- X
- Other Apps
How to find out HCF of two numbers in python
- Get link
- X
- Other Apps
How to convert uppercase letters to lowercase and vise-versa in python
- Get link
- X
- Other Apps