CUET-UG SERIES Computer-science
Code Optimization
1 previous year questions.
Volume: 1 Ques
Yield: Medium
High-Yield Trend
1
2023 Chapter Questions 1 MCQs
01
PYQ 2023
medium
computer-science ID: cuet-ug-
Which of the following is correct code to plot line Chart with dotted linestyle ?
1
plt.plot(x, y)
plt.linestyle = βdottedβ
plt.show()
plt.linestyle = βdottedβ
plt.show()
2
plt.plot(x, y)
plt.linestyle | βdottedβ )
plt.show()
plt.linestyle | βdottedβ )
plt.show()
3
plt.plot(x, y), linestyle - dotted)
plt.show()
plt.show()
4
plt.plot(x, y, linestyle = βdottedβ)
plt.show()
plt.show()