names = ['david', 'jose', 'ruben', 'miguel', 'javier', 'pablo']

# En DOS PASOS.
#message = 'Hey! ' + names[0].capitalize() + ', you are my best friend.'
#print(message)

# DIRECTAMENTE.
print('Hey! ' + names[0].capitalize() + ', you are my best friend.')
# format() version:
#print('Hey! {}, you are my best friend.'.format(names[0].capitalize()))
print('Hey! ' + names[1].capitalize() + ', you are my best friend.')
print('Hey! ' + names[2].capitalize() + ', you are my best friend.')
print('Hey! ' + names[3].capitalize() + ', you are my best friend.')
print('Hey! ' + names[4].capitalize() + ', you are my best friend.')
print('Hey! ' + names[5].capitalize() + ', you are my best friend.')