"in python, how to convert list of float numbers to string with certain format?",p = [tuple('{0:.2f}'.format(c) for c in b) for b in a]