从1到100,每0.1取个值,range函数不能使用 ,哪个函数可以

range() 函数里的参数不能用分数,哪个函数可以?? 如题 还必须30个字。,·真费劲


for i in range(10,1001):
    print(i/10)
#增大精度就行