Login and get coding
In this Bite you will analyze how the price of gold evolved over the years 1950-2018. We loaded the gold prices (per ounce per year) into the template for you (source).
gold_pricesmultiline string into a useful data structure and calculate which years the price decreased and increased the most. Return those 2 years as a
tuple:>>> from gold import years_gold_value_decreased >>> years_gold_value_decreased() (2013, 2009)
Become a data ninja and as always keep calm and keep it Python!
Update: this Bite is a nice one to solve with
pandasso we enabled it, but given our dependencies, it means you'll have to use Python 3.6 at this time.