Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

4. I can tell when team members dont mean what they say.

Answered: 1 week ago