python
Pattern
for i in range (0,5):
for j in range (0,i+1):
print("* ",end="")
print()
Output
# Python Program - Pattern Program 1
Here use the range
Was this helpful?
Similar Posts