Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PYTHON Create a Python program that does this: 1. Read the HOMEWORK 2. json created in PHP 2. Load the data to a Python dictionary.
PYTHON Create a Python program that does this: 1. Read the HOMEWORK 2. json created in PHP 2. Load the data to a Python dictionary. 3. Using a loop: For each record: Print the record then on subsequent lines Print the individual values for first name, age and salary 4. Save your work in a file named lastName-HOMEWORK 2.py lastName must be your last name exactly as it is in BONGO. PYTHON WILL PRODUCE WHAT LOOKS LIKE THIS - YOUR DATA WILL BE DIFFERENT 'age': 21, 'state': 'Kentucky', 'salary': 95000} {'firstname': 'Bob', 'lastname': 'Smith', Bob 21 95000 'salary': 105000} {'firstname': 'Rupert', 'lastname': 'Sanders', 'age': 21, 'state': 'Indiana', Rupert 21 105000 'state': 'Pennsylvania', 'salary': 65000} {'firstname': 'Samuel', 'lastname': 'Reeds', 'age': 24, Samuel 24 65000 Smith', 'age': 29, 'state': 'Florida', 'salary': 75000} {'firstname': 'Rudy', 'lastname': Rudy 29 75000 'Wanda', 'lastname': 'Jones', 'age': 19, 'state': New York', 'salary': 88000} {'firstname': Wanda 19 88000
Step 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