i am facing problem while answering the assignment ,
can anyone help me with it ?
Question 3ΒΆ What are the top 15 countries for average GDP over the last 10 years?
This function should return a Series named avgGDP with 15 countries and their average GDP sorted in descending order.
`def answer_three():
Top15 = answer_one()
years = ['2006', '2007', '2008', '2009', '2010', '2011', '2012', '2013', '2014', '2015']
return (Top15[years].mean(axis=1)).sort_values(ascending=False).rename('avgGDP')`