मराठी

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.

Advertisements
Advertisements

प्रश्न

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

Identify the name of the function that should be used in statement 2 plot the above graph.

पर्याय

  • line () 

  • bar () 

  • hist () 

  • barh ()

MCQ
Advertisements

उत्तर

bar ()

shaalaa.com
Plotting Using Matplotlib
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×