read.cash Log in
@MyHero

Program 101: Print Square Pattern using Python Here's the program code # Print Square Pattern using Python rows = int(input("Enter number of rows: ")) for i in range(1, rows + 1): for j in range(1, rows + 1): print('*', end=' ') print() If you want to run the program Link: https://www.onlinegdb.com/gquRRu4BG

10 comments

Log in to join in Reading is open to everyone. Replying needs an account.