Write a Python program to generate a bar chart for the following information.
(7)
Student name Percentage
Anil 94
Vilas 85
Dharma 45
Mahan 25
Manish 50
Rajesh 54
• The bar chart should have green colour bars.
• There should be proper labels for X and Y axis.
• The Title of the chart should be ‘Percentage of Marks achieved by student class XII'.
• Draw the chart generated in you PC in the answer paper.
Answers
Answered by
3
Answer:
you are given a string which you have to convert into a palindrome such that each steps involves swapping two adjacent characters .Find the minimum nimber of steps it would take for you to do so
Note:1 .if the string could not be converted into a palindrome return -1
2.also,if the given string is a palindrome return 0Write a Python program to generate a bar chart for the following information.
(7)
Student name Percentage
Anil 94
Vilas 85
Dharma 45
Mahan 25
Manish 50
Rajesh 54
• The bar chart should have green colour bars.
• There should be proper labels for X and Y axis.
• The Title of the chart should be ‘Percentage of Marks achieved by student class XII'.
• Draw the chart generated in you PC in the answer paper.
Similar questions