题库 Python题库 题目列表 绘制图形如图所示,画线处的的语句填写是否正确 ?(...
判断题

绘制图形如图所示,画线处的的语句填写是否正确 ?(

import matplotlib.pyplot as plt  
x=[1, 2, 3, 4, 5]  
y=[1, 4, 9, 16, 25]  
plt.plot(x, y)  
plt.xlabel('y=x**2')
plt.show()
A.
正确
B.
错误
题目信息
2025年 3月 判断题
-
正确率
0
评论
10
点击