* In python * This program outputs a downwards facing arrow composed of a rectangle and a right triangle. The arrow dimensions are defined by user specified arrow base height, arrow base width, and...


* In python *


This program outputs a downwards facing arrow composed of a rectangle and a right triangle. The arrow dimensions are defined by user specified arrow base height, arrow base width, and arrow head width.


(1) Modify the given program to use a loop to output an arrow base of height arrow_base_height.


(2) Modify the given program to use a loop to output an arrow base of width arrow_base_width.


(3) Modify the given program to use a loop to output an arrow head of width arrow_head_width.


(4) Modify the given program to only accept an arrow head width that is larger than the arrow base width. Use a loop to continue prompting the user for an arrow head width until the value is larger than the arrow base width.


while arrow head width <= arrow base width:<br>arrow head width<br>int (input ('Enter arrow head width:\n'))<br>Example output for arrow_base_height = 5, arrow_base_width = 2, and arrow_head_width = 4:<br>%3D<br>Enter arrow base height:<br>Enter arrow base width:<br>Enter arrow head width:<br>4<br>**<br>**<br>**<br>**<br>**<br>****<br>***<br>**<br>

Extracted text: while arrow head width <= arrow="" base="" width:="" arrow="" head="" width="" int="" (input="" ('enter="" arrow="" head="" width:\n'))="" example="" output="" for="" arrow_base_height="5," arrow_base_width="2," and="" arrow_head_width="4:" %3d="" enter="" arrow="" base="" height:="" enter="" arrow="" base="" width:="" enter="" arrow="" head="" width:="" 4="" **="" **="" **="" **="" **="" ****="" ***="">

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here