SlideShare a Scribd company logo
Suppose we wish to determine which countries exist in both the POIs data and the cities data.
Implement the function,
def get_common_ccs(pois, cities):
...
to complete this task.
Inputs:
pois: POIs, stored in a Python dictionary of dictionaries, mapping POI IDs keys to attribute
values (like earlier examples)
cities: City records, stored in a Python dictionary of dictionaries, mapping city names to attribute
values (like earlier examples)
You may assume that the inner dictionaries have the same four keys: 'country_code', 'lat', 'long',
and 'type'.
Task: Identify all country codes that exist in pois and in cities.
Outputs: Return a new Python set consisting of the common country codes.
In Python.

More Related Content

More from EdwardvMiWalshz

(2) 1- What kind of symbiotic relationship is occurring between the tr.pdf
(2) 1- What kind of symbiotic relationship is occurring between the tr.pdf(2) 1- What kind of symbiotic relationship is occurring between the tr.pdf
(2) 1- What kind of symbiotic relationship is occurring between the tr.pdf
EdwardvMiWalshz
 
-37- (Choosing between funds and reporting capital contributions and a.pdf
-37- (Choosing between funds and reporting capital contributions and a.pdf-37- (Choosing between funds and reporting capital contributions and a.pdf
-37- (Choosing between funds and reporting capital contributions and a.pdf
EdwardvMiWalshz
 
--DNA ProbeIn Figure 5- the target DNA used for a genetic study was di.pdf
--DNA ProbeIn Figure 5- the target DNA used for a genetic study was di.pdf--DNA ProbeIn Figure 5- the target DNA used for a genetic study was di.pdf
--DNA ProbeIn Figure 5- the target DNA used for a genetic study was di.pdf
EdwardvMiWalshz
 
- Why use Aseptic technigue in the Microbiology laboratory Yo VIJ - Th.pdf
- Why use Aseptic technigue in the Microbiology laboratory Yo VIJ - Th.pdf- Why use Aseptic technigue in the Microbiology laboratory Yo VIJ - Th.pdf
- Why use Aseptic technigue in the Microbiology laboratory Yo VIJ - Th.pdf
EdwardvMiWalshz
 
- Why vie Aseptic technlaun in the Microbiology Laboratory - What is s.pdf
- Why vie Aseptic technlaun in the Microbiology Laboratory - What is s.pdf- Why vie Aseptic technlaun in the Microbiology Laboratory - What is s.pdf
- Why vie Aseptic technlaun in the Microbiology Laboratory - What is s.pdf
EdwardvMiWalshz
 
- What type of moth pollinates columbines- - Define population- - Illu.pdf
- What type of moth pollinates columbines- - Define population- - Illu.pdf- What type of moth pollinates columbines- - Define population- - Illu.pdf
- What type of moth pollinates columbines- - Define population- - Illu.pdf
EdwardvMiWalshz
 
- A Beautiful Mind - (2001) apply the 5 domains of Schizophrenia and.pdf
- A Beautiful Mind - (2001)  apply the 5 domains of Schizophrenia and.pdf- A Beautiful Mind - (2001)  apply the 5 domains of Schizophrenia and.pdf
- A Beautiful Mind - (2001) apply the 5 domains of Schizophrenia and.pdf
EdwardvMiWalshz
 
- Although antibiotics are not effective against viruses- vaccines are.pdf
- Although antibiotics are not effective against viruses- vaccines are.pdf- Although antibiotics are not effective against viruses- vaccines are.pdf
- Although antibiotics are not effective against viruses- vaccines are.pdf
EdwardvMiWalshz
 
- Should social medial censor content- news- or opinions- - Does the g.pdf
- Should social medial censor content- news- or opinions- - Does the g.pdf- Should social medial censor content- news- or opinions- - Does the g.pdf
- Should social medial censor content- news- or opinions- - Does the g.pdf
EdwardvMiWalshz
 
(a) A(r-1-30) (b) Ar-0-37 (c) rese x+0-x.pdf
(a) A(r-1-30) (b) Ar-0-37 (c) rese x+0-x.pdf(a) A(r-1-30) (b) Ar-0-37 (c) rese x+0-x.pdf
(a) A(r-1-30) (b) Ar-0-37 (c) rese x+0-x.pdf
EdwardvMiWalshz
 
(Waiting Times at a Dentist's Office) Consider a dentist's office wher.pdf
(Waiting Times at a Dentist's Office) Consider a dentist's office wher.pdf(Waiting Times at a Dentist's Office) Consider a dentist's office wher.pdf
(Waiting Times at a Dentist's Office) Consider a dentist's office wher.pdf
EdwardvMiWalshz
 
(Then m isege ara docinul bo sot rexuhd)The median for the given set o.pdf
(Then m isege ara docinul bo sot rexuhd)The median for the given set o.pdf(Then m isege ara docinul bo sot rexuhd)The median for the given set o.pdf
(Then m isege ara docinul bo sot rexuhd)The median for the given set o.pdf
EdwardvMiWalshz
 
(r) The Cytoplent ans Crelivar Orguteifen Wotch a lirtby deggden Drag.pdf
(r) The Cytoplent ans Crelivar Orguteifen Wotch a lirtby deggden Drag.pdf(r) The Cytoplent ans Crelivar Orguteifen Wotch a lirtby deggden Drag.pdf
(r) The Cytoplent ans Crelivar Orguteifen Wotch a lirtby deggden Drag.pdf
EdwardvMiWalshz
 
(e) What are the mean and variane of depth- (Round your variance to tw.pdf
(e) What are the mean and variane of depth- (Round your variance to tw.pdf(e) What are the mean and variane of depth- (Round your variance to tw.pdf
(e) What are the mean and variane of depth- (Round your variance to tw.pdf
EdwardvMiWalshz
 
(h) You want to have $0-7 million saved by the time you reach the age.pdf
(h) You want to have $0-7 million saved by the time you reach the age.pdf(h) You want to have $0-7 million saved by the time you reach the age.pdf
(h) You want to have $0-7 million saved by the time you reach the age.pdf
EdwardvMiWalshz
 
(ii) 1(A)- (in) rint- (i) A(in)- (i+i) istaisi -.pdf
(ii) 1(A)- (in) rint- (i) A(in)- (i+i) istaisi -.pdf(ii) 1(A)- (in) rint- (i) A(in)- (i+i) istaisi -.pdf
(ii) 1(A)- (in) rint- (i) A(in)- (i+i) istaisi -.pdf
EdwardvMiWalshz
 
(Figure- Common Resource Goods 2) In this figure- which point depicts.pdf
(Figure- Common Resource Goods 2) In this figure- which point depicts.pdf(Figure- Common Resource Goods 2) In this figure- which point depicts.pdf
(Figure- Common Resource Goods 2) In this figure- which point depicts.pdf
EdwardvMiWalshz
 
(c) Find an autocovariance of order two for Yt Yt-0+1Yt1+Wt.pdf
(c) Find an autocovariance of order two for Yt Yt-0+1Yt1+Wt.pdf(c) Find an autocovariance of order two for Yt Yt-0+1Yt1+Wt.pdf
(c) Find an autocovariance of order two for Yt Yt-0+1Yt1+Wt.pdf
EdwardvMiWalshz
 
(b) (4 points) Two archers shoot independently at n targets- On each s.pdf
(b) (4 points) Two archers shoot independently at n targets- On each s.pdf(b) (4 points) Two archers shoot independently at n targets- On each s.pdf
(b) (4 points) Two archers shoot independently at n targets- On each s.pdf
EdwardvMiWalshz
 
(b) (4 points) Two archers shoot independently at n targets- On each s (1).pdf
(b) (4 points) Two archers shoot independently at n targets- On each s (1).pdf(b) (4 points) Two archers shoot independently at n targets- On each s (1).pdf
(b) (4 points) Two archers shoot independently at n targets- On each s (1).pdf
EdwardvMiWalshz
 

More from EdwardvMiWalshz (20)

(2) 1- What kind of symbiotic relationship is occurring between the tr.pdf
(2) 1- What kind of symbiotic relationship is occurring between the tr.pdf(2) 1- What kind of symbiotic relationship is occurring between the tr.pdf
(2) 1- What kind of symbiotic relationship is occurring between the tr.pdf
 
-37- (Choosing between funds and reporting capital contributions and a.pdf
-37- (Choosing between funds and reporting capital contributions and a.pdf-37- (Choosing between funds and reporting capital contributions and a.pdf
-37- (Choosing between funds and reporting capital contributions and a.pdf
 
--DNA ProbeIn Figure 5- the target DNA used for a genetic study was di.pdf
--DNA ProbeIn Figure 5- the target DNA used for a genetic study was di.pdf--DNA ProbeIn Figure 5- the target DNA used for a genetic study was di.pdf
--DNA ProbeIn Figure 5- the target DNA used for a genetic study was di.pdf
 
- Why use Aseptic technigue in the Microbiology laboratory Yo VIJ - Th.pdf
- Why use Aseptic technigue in the Microbiology laboratory Yo VIJ - Th.pdf- Why use Aseptic technigue in the Microbiology laboratory Yo VIJ - Th.pdf
- Why use Aseptic technigue in the Microbiology laboratory Yo VIJ - Th.pdf
 
- Why vie Aseptic technlaun in the Microbiology Laboratory - What is s.pdf
- Why vie Aseptic technlaun in the Microbiology Laboratory - What is s.pdf- Why vie Aseptic technlaun in the Microbiology Laboratory - What is s.pdf
- Why vie Aseptic technlaun in the Microbiology Laboratory - What is s.pdf
 
- What type of moth pollinates columbines- - Define population- - Illu.pdf
- What type of moth pollinates columbines- - Define population- - Illu.pdf- What type of moth pollinates columbines- - Define population- - Illu.pdf
- What type of moth pollinates columbines- - Define population- - Illu.pdf
 
- A Beautiful Mind - (2001) apply the 5 domains of Schizophrenia and.pdf
- A Beautiful Mind - (2001)  apply the 5 domains of Schizophrenia and.pdf- A Beautiful Mind - (2001)  apply the 5 domains of Schizophrenia and.pdf
- A Beautiful Mind - (2001) apply the 5 domains of Schizophrenia and.pdf
 
- Although antibiotics are not effective against viruses- vaccines are.pdf
- Although antibiotics are not effective against viruses- vaccines are.pdf- Although antibiotics are not effective against viruses- vaccines are.pdf
- Although antibiotics are not effective against viruses- vaccines are.pdf
 
- Should social medial censor content- news- or opinions- - Does the g.pdf
- Should social medial censor content- news- or opinions- - Does the g.pdf- Should social medial censor content- news- or opinions- - Does the g.pdf
- Should social medial censor content- news- or opinions- - Does the g.pdf
 
(a) A(r-1-30) (b) Ar-0-37 (c) rese x+0-x.pdf
(a) A(r-1-30) (b) Ar-0-37 (c) rese x+0-x.pdf(a) A(r-1-30) (b) Ar-0-37 (c) rese x+0-x.pdf
(a) A(r-1-30) (b) Ar-0-37 (c) rese x+0-x.pdf
 
(Waiting Times at a Dentist's Office) Consider a dentist's office wher.pdf
(Waiting Times at a Dentist's Office) Consider a dentist's office wher.pdf(Waiting Times at a Dentist's Office) Consider a dentist's office wher.pdf
(Waiting Times at a Dentist's Office) Consider a dentist's office wher.pdf
 
(Then m isege ara docinul bo sot rexuhd)The median for the given set o.pdf
(Then m isege ara docinul bo sot rexuhd)The median for the given set o.pdf(Then m isege ara docinul bo sot rexuhd)The median for the given set o.pdf
(Then m isege ara docinul bo sot rexuhd)The median for the given set o.pdf
 
(r) The Cytoplent ans Crelivar Orguteifen Wotch a lirtby deggden Drag.pdf
(r) The Cytoplent ans Crelivar Orguteifen Wotch a lirtby deggden Drag.pdf(r) The Cytoplent ans Crelivar Orguteifen Wotch a lirtby deggden Drag.pdf
(r) The Cytoplent ans Crelivar Orguteifen Wotch a lirtby deggden Drag.pdf
 
(e) What are the mean and variane of depth- (Round your variance to tw.pdf
(e) What are the mean and variane of depth- (Round your variance to tw.pdf(e) What are the mean and variane of depth- (Round your variance to tw.pdf
(e) What are the mean and variane of depth- (Round your variance to tw.pdf
 
(h) You want to have $0-7 million saved by the time you reach the age.pdf
(h) You want to have $0-7 million saved by the time you reach the age.pdf(h) You want to have $0-7 million saved by the time you reach the age.pdf
(h) You want to have $0-7 million saved by the time you reach the age.pdf
 
(ii) 1(A)- (in) rint- (i) A(in)- (i+i) istaisi -.pdf
(ii) 1(A)- (in) rint- (i) A(in)- (i+i) istaisi -.pdf(ii) 1(A)- (in) rint- (i) A(in)- (i+i) istaisi -.pdf
(ii) 1(A)- (in) rint- (i) A(in)- (i+i) istaisi -.pdf
 
(Figure- Common Resource Goods 2) In this figure- which point depicts.pdf
(Figure- Common Resource Goods 2) In this figure- which point depicts.pdf(Figure- Common Resource Goods 2) In this figure- which point depicts.pdf
(Figure- Common Resource Goods 2) In this figure- which point depicts.pdf
 
(c) Find an autocovariance of order two for Yt Yt-0+1Yt1+Wt.pdf
(c) Find an autocovariance of order two for Yt Yt-0+1Yt1+Wt.pdf(c) Find an autocovariance of order two for Yt Yt-0+1Yt1+Wt.pdf
(c) Find an autocovariance of order two for Yt Yt-0+1Yt1+Wt.pdf
 
(b) (4 points) Two archers shoot independently at n targets- On each s.pdf
(b) (4 points) Two archers shoot independently at n targets- On each s.pdf(b) (4 points) Two archers shoot independently at n targets- On each s.pdf
(b) (4 points) Two archers shoot independently at n targets- On each s.pdf
 
(b) (4 points) Two archers shoot independently at n targets- On each s (1).pdf
(b) (4 points) Two archers shoot independently at n targets- On each s (1).pdf(b) (4 points) Two archers shoot independently at n targets- On each s (1).pdf
(b) (4 points) Two archers shoot independently at n targets- On each s (1).pdf
 

Recently uploaded

BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
MysoreMuleSoftMeetup
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
National Information Standards Organization (NISO)
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
nitinpv4ai
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
nitinpv4ai
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
ImMuslim
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
danielkiash986
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
David Douglas School District
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
khuleseema60
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
heathfieldcps1
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Henry Hollis
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
National Information Standards Organization (NISO)
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 

Recently uploaded (20)

BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 

Suppose we wish to determine which countries exist in both the POIs da.pdf

  • 1. Suppose we wish to determine which countries exist in both the POIs data and the cities data. Implement the function, def get_common_ccs(pois, cities): ... to complete this task. Inputs: pois: POIs, stored in a Python dictionary of dictionaries, mapping POI IDs keys to attribute values (like earlier examples) cities: City records, stored in a Python dictionary of dictionaries, mapping city names to attribute values (like earlier examples) You may assume that the inner dictionaries have the same four keys: 'country_code', 'lat', 'long', and 'type'. Task: Identify all country codes that exist in pois and in cities. Outputs: Return a new Python set consisting of the common country codes. In Python.