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 be outlined in 3. The symbol the triangle will be filled with
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 the first symbol to draw an isosceles right triangle of the height chosen by the user. The triangle should be filled in with the second symbol, in the cases in which there is interior space to fill.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started