Skip to main content
Write a program of square pattern in python - Square Pattern program in python - Python Programs - Pattern programs in python
Square Pattern

Output
*****
*****
*****
*****
*****
Python Code:
# square pattern
n = 5
for i in range(n):
for j in range(n):
print('*', end='')
print('')
Here is the Practical of the above program in Jupyter Notebook
Comments
Post a Comment