fb pixel

Rectangle

You’re fascinated by the black square of Kazimir Malevich. You decide to write a program that would print a rectangle of any size. The rectangle should consist of hashtags (#).
 
The program receives two integers - h and w. It should print a rectangle with h lines and w columns in the output.
Input
Output
10 20
#################### #################### #################### #################### #################### #################### #################### #################### #################### ####################
To check your solution you need to sign in
Sign in to continue