random.randint(0.1,0.9) ValueError: non-integer arg 1 for randrange() 改成: random.uniform(0.1,0.9) 解决!