.format with list python code example Example: python format string with list >>> print('Skillset: {}'.format(*langs)) Skillset: C