Geometric shapes · 8 / 13 Exercise Medium

Draw a hollow rectangle

Objective

Write a program in Python that asks the user for a symbol, a width and a height to draw a hollow rectangle with those dimensions.

Use the symbol to paint the hollow rectangle.

Input
4
3
5
Output
444
4 4
4 4
4 4
444

Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.

Start exercise