Advertisements
Advertisements
Question
Read the following text and answer the following question on the basis of the same:
Mr. Sharma is working in a game development industry and he was comparing the given chart on the basis of the rating of the various games available on the play store.

He is trying to write a code to plot the graph. Help Mr. Sharma to fill in the blanks of the code and get the desired output.
import ______ #Statement 1
Games= ["Subway Surfer", "Temle Run", "Canddy Crush", ''Bottle Best"]
Rating=[4.2, 4.8, 5.0, 3.8, 4.1]
pit.__ (Games, Rating) #Statement 2
plt.xlabel("Games") plt.__ ("Rating") #Statement 3
pit.__ #Statement 4
In case Mr. Sharma wants to change the above plot to any other shape, which statement, should be change.
Options
Statement 1
Statement 2
Statement 3
Statement 4
Advertisements
Solution
Statement 2
