Question: Use Python and only while loops For this part of the homework you will write code to draw an isosceles right triangle. (A right triangle
Use Python and only while loops
For this part of the homework you will write code to draw an isosceles right triangle. (A right triangle in which the height and base are the same size.)
Your program should prompt the user for these inputs,in exactly this order:1. The height of their triangle 2. The symbol the triangle will beoutlinedin 3. The symbol the triangle will befilledwith
For these inputs, you can assume the following:
The height will be a positive integer (greater than zero)
The symbols will be a single character each
Use thefirst symbolto draw an isosceles right triangle of the height chosen by the user. The triangle should be filled in with thesecond symbol, in the cases in which there is interior space to fill.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
