Control a print format when printing a list in Python,"print('[%s]' % ', '.join('%.3f' % val for val in list))"