how to use format in python for a list code example Example: python format string with list >>> print('Skillset: {}'.format(*langs)) Skillset: C