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