You can construct a list of numbers from the range using list() constructor. L = list(range(7)) print(L) # Prints [0, 1, 2, ...
確定! 回上一頁