text: districts = {
  'C01':("Downtown", "Harbourfront", "King West Village", "Little Italy"),
  'C02':("The Annex", "Yorkville", "Summerhill", "Wychwood Park", "Deer Park (Yonge-St. Clair)", "South Hill"),
  'C03':("Corso Italia", "Forest Hill South", "Oakwood-Vaughan", "Cedarvale"),
  'C04':("Bedford Park", "Lawrence Manor", "North Toronto", "Forest Hill North"),
  'C06':("North York", "Clanton Park", "Bathurst Manor"),
  'C07':("Willowdale", "Newtonbrook West", "Westminister-Branson", "Lansing-Westgate"),
  'C08':("Cabbagetown", "St. Lawrence Market", "Waterfront Communities", "Moss Park", "Church-Yonge Corridor", "Garden District"),
  'C09':("Moore Park", "Rosedale"),
  'C10':("Davisville Village", "Mount Pleasant East"),
  'C11':("Leaside", "Thorncliffe Park", "Flemingdon Park"),
  'C12':("St. Andrew", "Windfields", "Lawrence Park North"),
  'C13':("Banbury", "Don Mills", "Parkwoods-Donalda", "Victoria Village"),
  'C14':("Newtonbrook East", "Willowdale East"),
  'C15':("Hillcrest Village", "Bayview Woods", "Steeles North", "Bayview Village", "Don Valley Village", "Henry Farm", "Pleasant View"),
  'E01':("North Riverdale", "South Riverdale", "Danforth", "Leslieville", "Outer Harbour"),
  'E02':("The Beaches", "Woodbine Corridor"),
  'E03':("Danforth", "East York", "Playter Estates", "Broadview North", "O’Connor-Parkview", "Crescent Town"),
  'E04':("The Golden Mile", "Dorset Park", "Wexford", "Maryvale", "Kennedy Park", "Ionview Park", "Clairlea", "Birchmount"),
  'E05':("Steeles", "L’Amoreaux", "Tam O’Shanter", "Sullivan"),
  'E06':("Birch Cliff", "Cliffside", "Oakridge", "Hunt Club"),
  'E07':("Milliken", "Agincourt North", "Agincourt South", "Malvern West"),
  'E08':("Scarborough Village", "Cliffcrest", "Guildwood", "Eglinton East"),
  'E09':("Scarborough City Centre", "Woburn", "Morningside", "Bendale"),
  'E10':("Rouge (South),", "Centennial Scarborough", "West Hill", "Highland Creek"),
  'E11':("Rouge (West),", "Malvern", "Cedarwood"),
  'W01':("High Park", "Swansea", "South Parkdale", "Roncesvalles Village"),
  'W02':("High Park North", "Bloor West Village", "Baby Point", "The Junction (Junction Area),"),
  'W03':("Corso Italia", "Keelesdale", "Eglingon West", "Weston-Pellam Park", "Rockcliffe-Smythe"),
  'W04':("Yorkdale", "Glen Park", "Brookhaven", "Amesbury", "Humberlea", "Pelmo Park", "Weston", "Briar Hill", "Belgravia", "Maple Leaf", "Mount Dennis"),
  'W05':("Downsview", "Humber Summit", "Humbermede", "Black Creek", "York University Heights", "Glenfield-Jane Heights", "incl. Downsview Airport"),
  'W06':("New Toronto", "Long Branch", "Mimico", "Alderwood"),
  'W07':("Stonegate-Queensway (Sunnylea),"),
  'W08':("Kingsway South", "Central Etobicoke", "Eringate-Centennial-West Deane", "Princess-Rosethorn", "Edenbridge", "Humber Valley", "Islington (City Centre West),", "Markland Wood"),
  'W09':("Kingsview Village", "The Westway", "Willowridge", "Martingrove", "Richview", "Humber Heights"),
  'W10':("Rexdale", "The Elms", "Kipling", "West-Humber", "Clairville", "Thistletown", "Beaumond Heights", "Mount Olive", "Silverstone", "Jamestown")
  }
  neighborhoods = ["Wychwood",
  "Yonge-Eglinton",
  "Yonge-St.Clair",
  "York University Heights",
  "Yorkdale-Glen Park",
  "Lambton Baby Point",
  "Lansing-Westgate",
  "Lawrence Park North",
  "Lawrence Park South","Leaside-Bennington",
  "Little Portugal",
  "Long Branch",
  "Malvern",
  "Maple Leaf",
  "Markland Wood",
  "Milliken",
  "Mimico includes Humber Bay Shores",
  "Morningside",
  "Moss Park",
  "Mount Dennis",
  "Mount Olive-Silverstone-Jamestown",
  "Mount Pleasant East","Mount Pleasant West","New Toronto",
  "Newtonbrook East",
  "Newtonbrook West",
  "Niagara",
  "North Riverdale",
  "North St.James Town",
  "O'Connor-Parkview",
  "Oakridge",
  "Oakwood Village",
  "Old East York",
  "Palmerston-Little Italy",
  "Parkwoods-Donalda",
  "Pelmo Park-Humberlea",
  "Playter Estates-Danforth",
  "Pleasant View",
  "Princess-Rosethorn",
  "Regent Park",
  "Rexdale-Kipling",
  "Rockcliffe-Smythe",
  "Roncesvalles",
  "Rosedale-Moore Park",
  "Rouge",
  "Runnymede-Bloor West Village",
  "Rustic",
  "Scarborough Village",
  "South Parkdale",
  "South Riverdale",
  "St.Andrew-Windfields",
  "Steeles",
  "Stonegate-Queensway",
  "Tam O'Shanter-Sullivan",
  "Taylor-Massey",
  "The Beaches",
  "Thistletown-Beaumond Heights",
  "Thorncliffe Park",
  "Trinity-Bellwoods",
  "University",
  "Victoria Village",
  "Waterfront Communities-The Island",
  "West Hill",
  "West Humber-Clairville",
  "Westminster-Branson",
  "Weston",
  "Weston-Pellam Park",
  "Wexford/Maryvale",
  "Willowdale East",
  "Willowdale West",
  "Willowridge-Martingrove-Richview",
  "Woburn",
  "Woodbine Corridor",
  "Woodbine-Lumsden",
  "Agincourt North",
  "Agincourt South-Malvern West",
  "Alderwood",
  "Annex",
  "Banbury-Don Mills",
  "Bathurst Manor",
  "Bay Street Corridor",
  "Bayview Village",
  "Bayview Woods-Steeles",
  "Bedford Park-Nortown",
  "Beechborough-Greenbrook",
  "Bendale",
  "Birchcliffe-Cliffside",
  "Black Creek",
  "Blake-Jones",
  "Briar Hill-Belgravia",
  "Bridle Path-Sunnybrook-York Mills",
  "Broadview North",
  "Brookhaven-Amesbury",
  "Cabbagetown-South St.James Town",
  "Caledonia-Fairbank",
  "Casa Loma",
  "Centennial Scarborough",
  "Church-Yonge Corridor",
  "Clairlea-Birchmount",
  "Clanton Park",
  "Cliffcrest",
  "Corso Italia-Davenport",
  "Danforth",
  "Danforth East York",
  "Don Valley Village",
  "Dorset Park",
  "Dovercourt-Wallace Emerson-Junction",
  "Downsview-Roding-CFB",
  "Dufferin Grove",
  "East End-Danforth",
  "Edenbridge-Humber Valley",
  "Eglinton East",
  "Elms-Old Rexdale",
  "Englemount-Lawrence",
  "Eringate-Centennial-West Deane",
  "Etobicoke West Mall",
  "Flemingdon Park",
  "Forest Hill North",
  "Forest Hill South",
  "Glenfield-Jane Heights",
  "Greenwood-Coxwell",
  "Guildwood",
  "Henry Farm",
  "High Park North",
  "High Park-Swansea",
  "Highland Creek",
  "Hillcrest Village",
  "Humber Heights-Westmount",
  "Humber Summit",
  "Humbermede",
  "Humewood-Cedarvale",
  "Ionview",
  "Islington-City Centre West",
  "Junction Area",
  "Keelesdale-Eglinton West",
  "Kennedy Park",
  "Kensington-Chinatown",
  "Kingsview Village-The Westway",
  "Kingsway South",
  "L'Amoreaux"]
  
  for key, value in districts.items():
      for i in value:
          for j in neighborhoods:
              if j in i:
                  print (key+": "+j)
                  #change to district only - then copy and paste into district column
  #            else:
  #                print ("no")
  
  