Question: base = int ( input ( Enter arrow base width: ) ) head = int ( input ( Enter arrow head width:

base = int(input("Enter arrow base width: "))
head = int(input("Enter arrow head width: "))
while head <= base:
print("Error: arrow head width must be larger than arrow base width.")
head = int(input("Enter arrow head width: "))
arrow_base =""
arrow_head =""
for i in range(base):
arrow_base +="*"
for i in range(head):
arrow_head +="*"
print(arrow_base)
print(arrow_base)
print(arrow_base)
print(arrow_base)
print(arrow_base)
while head >0:
print(arrow_head)
arrow_head = arrow_head[:-1]
head -=1

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!