Use list(range(10)) in 3.X. 2. >>> l = range(10). 3. >>> l. 4. [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]. Source: stackoverflow.com. how to find length of list python.
確定! 回上一頁