Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PYTHON QUESTION # 7) 15 points Try to update population of 2 Texas cities texas_cities 'Austin'790290, 'Dallas' 1197516, 'Fort Worth' 741206 # Write code to
PYTHON QUESTION
# 7) 15 points Try to update population of 2 Texas cities texas_cities 'Austin'790290, 'Dallas' 1197516, 'Fort Worth' 741206 # Write code to update the population of a city in the texas-cities dictionary Houston': 2099451, 'Laredo' 236091, 'Abilene': 117063,3 # Changes city- "Houston" # Do not change this city name change - 14235 # Add more people to Houston (if possible) city-"Gladstone" # Do not change this city name # Add more people to Gladstone (if possible) change 107 # Use these items to try to update the texas-cities dictionary # points 6 Try to update the Houston population by adding the population change to it. Your program should note whether this is possible 6 Try to update the Gladstone population by adding the population change to it Your program should note whether this is possible 3 Print the whole texas cities dictionary after updatingStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started