DS160123-Write a program to print the following pattern * ** *** ****

a=int(input(‘enter your rows number’))

for i in range (0,a+1):
for j in range(0,i):
print(“*”,end=’ ‘)
print(’')

2 Likes

Correct :100:
But there is no need of quote in last print statement.
Keep learning

1 Like