Question: Hi, I need help with this question please. Given the list of shop defined in the cell below, write python code to: Process the list
Hi, I need help with this question please. Given the list ofshopdefined in the cell below, write python code to:
- Process the list of dictionaries to develop list ofshop_name.
- Join theshop_namewith a semi-colon followed by space to form a single string e.g.Fobo, Tea house, Lee and Looand print the string
The steps to solve this problem are:
1. develop an empty list (shop_name)
2. use a for loop to extract shop_name from the dictionaries and store it in the list
3. print the list using join as a single string

shops - [ { "shop_id": 101, "shop_name": "Fobo" h { "shop_id": 102, "shop_name": "Tea house" }. { "shop_id": 103, "shop_name": "Lee and Loo" } # Write your code below this line
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
