-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
39 lines (31 loc) · 822 Bytes
/
Copy path.gitattributes
File metadata and controls
39 lines (31 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
arw_bs_ht = int(input('Enter arrow base height:\n'))
arw_bs_w = int(input('Enter arrow base width:\n'))
arw_hd_w = int(input('Enter arrow head width:\n'))
arw_cur_w = arw_bs_w
while arw_hd_w <= arw_bs_w:
arw_hd_w = int(input('Enter arrow head width:\n'))
print('')
while arw_bs_ht > 0:
arw_bs_ht = arw_bs_ht - 1
while arw_cur_w > 1:
arw_cur_w = arw_cur_w -1
print('*', end ='')
print('*')
arw_cur_w = arw_bs_w
while arw_hd_w > 0:
arw_hd_cur = arw_hd_w
arw_hd_w = arw_hd_w -1
while arw_hd_cur > 1:
arw_hd_cur = arw_hd_cur -1
print('*', end ='')
print('*')
#print('')
# Draw arrow base (height = 3, width = 2)
#print ('**')
#print ('**')
#print ('**')
# Draw arrow head (width = 4)
#print ('****')
#print ('***')
#print ('**')
#print ('*')