Question: Write a program that determines the best and worst performing stock(s) in 2013 with regards to percentage growth. Output: Best performing stock: Boeing 81.12% Worst

 Write a program that determines the best and worst performing stock(s) Write a program that determines the best and worst performing stock(s) in 2013 with regards to percentage growth.

Output: Best performing stock: Boeing 81.12%

Worst performing stock: International Business Machines -2.08%

Can you solve this in python. Thank you

In Exercises 7 through 10, use the file Dow. txt that contains the name, symbol, exchange, industry, price at the end of trading on 12/31/2012, price at the end of trading on 12/31/2013, 2013 earnings per share, and the dividend paid in 2013 for each of the 30 stocks in the Dow Jones Industrial Average. The first three lines of the file are American Express, AXP, NYSE, Consumer finance, 57.48,90.73,4.88,.89 Boeing, BA, NYSE, Aerospace & Defense, 75.36,136.49,5.96,2.19 Ca terpillar, CAT, NYSE, Construction & Mining Equipment, 89. 61 , 90. 81, 575, 232

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!