📜  python填充列表 - Python代码示例

📅  最后修改于: 2022-03-11 14:45:20.312000             🧑  作者: Mango

代码示例2
# Filling a list with numbers

search_list = []
search_list.extend(range(1, 101)) # [1,2,3,4,5,6,...,98,99,100]
print(search_list)