Advertisement
Bishwajit123

Untitled

Feb 19th, 2019
524
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. # Q.write a program that can read the integer t . Then for t lines read another
  2. # interger N and for each N value print a N*N square filled with the character
  3. # '#'.
  4.  
  5.  
  6. t = int(input('Testcase : '))
  7. for i in range(t):
  8.     n= int(input('N : '))
  9.     for r in range(n):
  10.         print('#'*n)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement