Question: in python please ASAP Write a program that outputs the below triangle. The user must input two values. The first input is the character to

in python please
ASAP  in python please ASAP Write a program that outputs the below
triangle. The user must input two values. The first input is the

Write a program that outputs the below triangle. The user must input two values. The first input is the character to print for the triangle and the second input is the maximum width of the triangle Implement the draw() function that takes these two values as parameters. Then, inside this function, you need to use nested loops to print the triangle. The function returns the word 'Done' after outputting the triangle. Hint: First draw the top half, then write a program to draw the bottom half Example 1: If the input is Enter Character: 8 Enter Height: 7 then your program should print %%% $%88% $%%%%% ****** *%88% 8888 *** ** Done Example 2: if the input is Enter Character: + Enter Height: 4 then your program should print: + ++ +++ ++++ +++ ++ + Done If the height given is 1, then you should just print a single character: Enter Character: + Enter Height: 1 then your program should print: + Done

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!