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 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 The order of the elements in this new list should match that of the other lists
for the data.
Use sum to find the sum of gdp displaying the result with a message in the format shown below.
The total global GDP in was $xxxx
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
