Is there a range() equivalent for floats in Python?>>> range(0.5,5,1.5)[0, 1, 2, 3, 4]>>> range(0.5,5,0.5)Traceback (most recent call last): File ...
確定! 回上一頁