【 float( '%.2f' % randn() ) for i in range(5)】 这里用的是numpy, 所以前面要加上 import numpy as np from numpy.random import randn