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