Pattern # 1 On Python
Pattern # 1
Hi Friends
Welcome back again
Today we code for pattern
Welcome back again
Today we code for pattern
like (number of rows: 3)
*
**
***
above method pattern print by the getting input from user
CODE:
a = input("Enter number of rows: ")
for i in range(int(a)):
for j in range(0,i+1):
print('*',end='')
print()
----
By
PyKAR
Comments
Post a Comment