Question 13 Marks
Write a Python program to draw a line chart with the suitable label in the x-axis, y-axis and a title. Value of X must be entered by the user as the list from the user and Y should be twice of X.
6 questions · timed · auto-graded
Title: Carbon emission of the coutries 1990-2011
values=[27, 11, 25, 8, 1, 3, 25]
countres= [ "US", "China", "European Union", "Russian Federation", "Brazil","India","Rest of World"]
x_data = [2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013]
y_data = [18, 21, 18, 21, 16, 14, 13, 18, 17, 16, 19, 23]
Degree=["M.A.", "M.B.A"," M.Com."," M.Sc."," M.Tech."]
Enrollment=[878677,416325, 271266, 519159, 257361]