第12618题 单选题
Python绘制散点图不完整代码中,填空处列表有几个元素?

如图所示是使用Python编程完成的一组散点图像,程序代码如下: 散点图

import matplotlib.pyplot as plt
import numpy as np
x=np.linspace(-1,1,5)
for i in ______:
    y=x*i
    plt.scatter(x, y)
    plt.show()
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析