variable = 'palabra'

for i in range(len(variable)):
    print('-',end='')
print('')
for i in range(len(variable)):
    print(variable[i],end='')
print('')

for i in variable:
    print(i,end='')
print('')
for i in variable:
    print('-',end='')
print('')