Problem

5/12

创建一个向量

Problem

数 2 个数:

  • n - Numpy 向量大小;
  • x - 向量元素的坐标,必须等于1。其余向量元素必须等于0  ( \(0 <= x ).

将向量保存到变量V

注意。 您不需要在此任务中打印任何内容。只创建一个向量 V

 
例子
<头> <正文>

# 输入 输出
1 10
4
[0。 0.0.0.1.0.0.0.0.0.]
Write the program below
print(V)      

     

Program check result

To check the solution of the problem, you need to register or log in!