(Solved) : Photo Attached Continuation Problem Unable Capture First Image Last Picture Finishes Last Q43922017 . . .


The photo attached below is a continuation of the problem that Iwas unable to capture in the first image. The last picture justfinishes the last two sentences. This is all done in python.
Problem: Calculate the average amount of time in seconds light will take to reach the surface of the Earth and Pluto. We will use average distances in our calculations. Below are a few facts you’ll need for your calculations. • The speed of light is 186,282 miles per second (mps) in a vacuum. • The average distance of the sun from the Earth is 93,000,000 miles. • The average distance of the sun from Pluto is 3,670,050,000 miles. Your solution has the following requirements: • Output your solution using the round() function to set the number of decimal places to 2. • The output from your program must be in the following format, substituting Xxx.xx and yyyyy with the correct values from your calculation. Light travels from the sun to the Earth an average of xxx.XX seconds. Light travels from the sun to Pluto an average of yyy.yy seconds. • Include the header comments in your solution (and all solutions for this class). • Include appropriate psuedocode comments in your solution. • Use a fruitful function avg_light_travel_seconds (distance_miles) to calculate and return the average time light takes to travel from the sun to an object at a giv • Use a void function print results(planetary object, avg_light_travel_seconds) to output the results for each planetary object (Earth and Pluto). Note that print object at a given distance in miles. Note that print_results() takes two arguments. Show transcribed image text Problem: Calculate the average amount of time in seconds light will take to reach the surface of the Earth and Pluto. We will use average distances in our calculations. Below are a few facts you’ll need for your calculations. • The speed of light is 186,282 miles per second (mps) in a vacuum. • The average distance of the sun from the Earth is 93,000,000 miles. • The average distance of the sun from Pluto is 3,670,050,000 miles. Your solution has the following requirements: • Output your solution using the round() function to set the number of decimal places to 2. • The output from your program must be in the following format, substituting Xxx.xx and yyyyy with the correct values from your calculation. Light travels from the sun to the Earth an average of xxx.XX seconds. Light travels from the sun to Pluto an average of yyy.yy seconds. • Include the header comments in your solution (and all solutions for this class). • Include appropriate psuedocode comments in your solution. • Use a fruitful function avg_light_travel_seconds (distance_miles) to calculate and return the average time light takes to travel from the sun to an object at a giv • Use a void function print results(planetary object, avg_light_travel_seconds) to output the results for each planetary object (Earth and Pluto). Note that print
object at a given distance in miles. Note that print_results() takes two arguments.
Expert Answer
Answer to The photo attached below is a continuation of the problem that I was unable to capture in the first image. The last pict…
OR