list format in python code example
Example 1: python format string with list
>>> print('Skillset: {}'.format(*langs))
Skillset: C
Example 2: python print list using format
>>> '{} {}'.format('Python', 'Format')
'Python Format'
>>> print('Skillset: {}'.format(*langs))
Skillset: C
>>> '{} {}'.format('Python', 'Format')
'Python Format'