how to pretty print list without printing it code example Example: python print list using format >>> '{} {}'.format('Python', 'Format') 'Python Format'