Geometric shapes · 7 / 13 Exercise Medium

Triangle Rectangle

Objective

Write a Python program that prompts the user for two integers, the first being an integer x which is used to draw the area of ​​the right triangle on the screen.

The second integer will be the width of the triangle. The height of the triangle will always be the same as the width.

Input
0
5
Output
00000
0000
000
00
0

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

Start exercise