Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Q.write a program that can read the integer t . Then for t lines read another
- # interger N and for each N value print a N*N square filled with the character
- # '#'.
- t = int(input('Testcase : '))
- for i in range(t):
- n= int(input('N : '))
- for r in range(n):
- print('#'*n)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement