python format elements of list in string code example
Example 1: python format string with list
>>> print('Skillset: {}'.format(*langs))
Skillset: C
Example 2: fprmaatting lists python
>>> print('Skillset: {0[1]}'.format(langs))
Skillset: C++
>>> print('Skillset: {}'.format(*langs))
Skillset: C
>>> print('Skillset: {0[1]}'.format(langs))
Skillset: C++