0

我必须列出一个数字列表,但我的 conde 不起作用。我是新手,这就是为什么我想问是否有人可以告诉我该怎么做

    [I Have to make a list of nummbers, but my conde does not work. I am new at this, that is why I would like to ask if someone could tell me how to do it.][1]
4

1 回答 1

0

您需要指定您正在使用的编程语言并显示到目前为止您尝试过的代码

在 python 中,100 个自然数的列表可以由创建,

numbers = [for i in range(1,101): ]    

于 2020-12-23T07:03:09.530 回答