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