99问答网
所有问题
python中创建一个1到100的列表
如题所述
举报该问题
其他回答
第1个回答 2021-05-23
lis = list(range(1, 101))
相似回答
大家正在搜
相关问题
Python创建一个一维列表,列表包含n个元素,n由键盘输入...
python怎么创建一个包含100以内奇数的列表
Python怎么创建一个1-100的向量,感觉语法是真的烦。
python中如何把000001至000100写成列表形式
用Python脚本编写1到100的整数和。
Python怎么实现生成一个拥有100个数的随机整数数组,数...
python新建一个列表,如何赋100个为0的初值?
怎么用python创建一个列表 列表执行从小到大的排序操作 ...