Skip to content
← Back to Community
7.2.7
Profile icon
ariely122

def arrow(my_char, max_length):
for i in range(1,max_length+1):
new = imy_char
print(new)
for i in range(max_length+1,0,-1):
new = i
my_char
print(new)
arrow('*', 15)

Voters
Profile icon
liavtozali
Profile icon
ariely122