Matplotlib Neww
Matplotlib Neww
English: 56,78,90,34
Science: 65,77,54,32
Maths: 45,67,43,41
2.
. Write code to plot a line chart to depict the run rate of T20 match from given data:
Overs Runs
5 45
10 79
15 145
20 234
3.
Mrs. Namrata is a coordinator in the senior section school. She represented data on number of
students who passed the exam on line chart as follows:
She has written the following code but not getting the desired output. Help her by correcting her code.
4. Write code to plot a line chart to depict the run rate of T20 match from given data:
Overs Runs
5 45
10 79
15 145
20 234
import matplotlib as pp
overs = [5,10,15,20]
runs = [54,79,145,234]
pp.plot(overs,runs)
pp.xlabel('Overs')
pp.ylabel('Runs')
pp.show()
6.
1.SELECT SUBSTR(‘ABCDEFG’,-5,3);
SELECT MOD(14,3);
SELECT INSTR(‘TOOLBARBAR’,’BAR’);
1.