Question: Create an empty list named gdp _ 2 0 1 8 . Use a loop to populate this list. Each new element of the list

Create an empty list named gdp_2018. Use a loop to populate this list. Each new element of the list should be equal to
the total GDP of a single country in 2018. The order of the elements in this new list should match that of the other lists
for the 2018 data.
Use sum() to find the sum of gdp_2018, displaying the result with a message in the format shown below.
The total global GDP in 2018 was $xxxx.

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!