मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता १२

Observe the output figure. Identify the coding for obtaining this output.

Advertisements
Advertisements

प्रश्न

Observe the output figure. Identify the coding for obtaining this output.

पर्याय

  • import matplotlib.pyplot as plt
    plt.plot([1,2,3],[4,5,1])
    plt.show()

  • import matplotlib.pyplot as
    plt plt.plot([1,2],[4,5])
    plt.show()

  • import matplotlib.pyplot as plt
    plt.plot([2,3],[5,1])
    plt.show()

  • import matplotlib.pyplot as plt
    plt.plot([1,3],[4,1])
    plt.show()

MCQ
Advertisements

उत्तर

import matplotlib.pyplot as plt
plt.plot([1,2,3],[4,5,1])
plt.show()

shaalaa.com
Special Plot Types
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 16: Data visualization using pyplot: line chart, pie chart and bar chart - Evaluation [पृष्ठ ३३१]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
पाठ 16 Data visualization using pyplot: line chart, pie chart and bar chart
Evaluation | Q 6. | पृष्ठ ३३१
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×