def printlist(x, width=70, indent=4):
 from textwrap import fill
 blanks = (' ' * indent)
 print fill(' '.join((str(elt) for elt in sorted(x))), width, initial_indent=blanks, subsequent_indent=blanks)

def printlist ( x , width = 70 , indent = 4 ) : from textwrap import fill blanks = ( ' ' * indent ) print fill ( ' ' . join ( ( str ( elt ) for elt in sorted ( x ) ) ) , width , initial_indent = blanks , subsequent_indent = blanks )
print the elements of iterable x to stdout .