Question:

Arrange the following statements to create a bar chart:
(A) import matplotlib.pyplot as plt
(B) y=[50, 60, 70] (C) plt.plot(x, y) plt.show()
(D) plt.bar(x, y) plt.show()
(E) x=['Mon', 'Tue', 'Wed']
Choose the correct answer from the options given below:

Updated On: Sep 12, 2024
  • (A), (E), (B), (D)
  • (A), (E), (B), (C)
  • (A), (B), (C), (D)
  • (A), (B), (E), (C)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

The correct option is(A): (A), (E), (B), (D)
Was this answer helpful?
0
0