📜  在 python 代码示例中获取数组输入

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

代码示例4
x=[]  for i in range(int(input("How many elements are in list : "))):  x.append(int(input())) print(x)