Question: I need to correct the error from problem 8 ( TypeError : list indices must be integers or slices, not str). Please help write the
I need to correct the error from problem 8 (TypeError: list indices must be integers or slices, not str). Please help write the python code so it outputs so it displays as expected in number 8:
Create a visual of your choice to display ExportTons for every Year for five ports: Baltimore, MD, Wilmington, DE, Jacksonville, FL, New Orleans, LA and West Palm Beach, FL.
Make sure your visual has a title and both an x and y axis label.
Below are the data from problem 7 that helps to write up problem 8



Jov10431106vmVAVA110,0>1.40221,110.73277,710.98 M City, State="Norfolk", "CA" BestYears (City, State) 14]: "Invalid Input' M City, State="Python", "MA" BestYears (City,State) 15]: "City does not exist." Problem 8: (5 points) In Module 6 you learned how to create different types of visuals. 1. Create a visual of your choice to display ExportTons for every for five Baltimore, MD, Wilmington, DE, Jacksonville, FL, New Orleans, LA and West Palm Beach, FL. 2. Make sure your visual has a title and both an x and y axis label. M Problem 9: (1 point) In a markdown cell, explain what your visual tells you about Jacksonville, FL between 2000 and 2017. Jov10431106vmVAVA110,0>1.40221,110.73277,710.98 M City, State="Norfolk", "CA" BestYears (City, State) 14]: "Invalid Input' M City, State="Python", "MA" BestYears (City,State) 15]: "City does not exist." Problem 8: (5 points) In Module 6 you learned how to create different types of visuals. 1. Create a visual of your choice to display ExportTons for every for five Baltimore, MD, Wilmington, DE, Jacksonville, FL, New Orleans, LA and West Palm Beach, FL. 2. Make sure your visual has a title and both an x and y axis label. M Problem 9: (1 point) In a markdown cell, explain what your visual tells you about Jacksonville, FL between 2000 and 2017
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
