import numpy as np
print(np.array([1, 2, 3, 4]))
The running result of the above program is :
B. [1 2 3 4]
import numpy as np
print(np.linspace(0, 10, 11))
The running result of the above program is :
A. [ 0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10.]
import numpy as np
print(np.arange(1, 11))
The running result of the above program is :
A. [ 1 2 3 4 5 6 7 8 9 10]
The following procedure will draw a line , Add a title to the drawing ’Line charts’, The correct choice below is :
import matplotlib.pyplot as plt
x = (1, 2, 3, 4)
y = (1, 2, 3, 4)
plt.plot(x, y)
plt.title(‘test’)
plt.show()
B. plt.title(‘Line charts’)
The function to save the drawn graph is :
D. savefig()
In the following program ,plot() The parameters of the function
項目介紹論文闡述了圖書管理系統,並對該系統的需求分析及系統需
Now ,Python It has become a ma