Observe the following graph and find the missing statement in the Python code.…

PYQ EMRS TGT/PGT (ESSE) 2023

Observe the following graph and find the missing statement in the Python code.

import matplotlib.pyplot as pl

__________

pl.show()

image.png
  1. A.

    pl.bar([5, 2, 3, 1])

  2. B.

    pl.scatter([5, 2, 3, 1])

  3. C.

    pl.plot([5, 2, 3, 1])

  4. D.

    pl.line([5, 2, 3, 1])

Attempted by 1373 students.

Sign up free to check your answer

Sign up free

Explore the full course: Emrs Cs Tier 2

Loading lesson…