travel_log = [
{
  "country": "France",
  "visits": 12,
  "cities": ["Paris", "Lille", "Dijon"]
},
{
  "country": "Germany",
  "visits": 5,
  "cities": ["Berlin", "Hamburg", "Stuttgart"]
},
]

# Function that will allow new countries to be added to the travel_log.
def add_new_country(name, visit_count, cities_visited):
  new_country = {}
  new_country["country"] = name
  new_country["visits"] = visit_count
  new_country["cities"] = cities_visited
  travel_log.append(new_country)

  #travel_log.append({"country": country_visited, "visits": times_visited, "cities": cities_visited})


add_new_country("Russia", 2, ["Moscow", "Saint Petersburg"])
print(travel_log)
travel_log = [
{
  "country": "France",
  "visits": 12,
  "cities": ["Paris", "Lille", "Dijon"]
},
{
  "country": "Germany",
  "visits": 5,
  "cities": ["Berlin", "Hamburg", "Stuttgart"]
},
]

# Function that will allow new countries to be added to the travel_log.
def add_new_country(name, visit_count, cities_visited):
  new_country = {}
  new_country["country"] = name
  new_country["visits"] = visit_count
  new_country["cities"] = cities_visited
  travel_log.append(new_country)

  #travel_log.append({"country": country_visited, "visits": times_visited, "cities": cities_visited})


add_new_country("Russia", 2, ["Moscow", "Saint Petersburg"])
print(travel_log)
# Function that will allow new countries to be added to the travel_log. #travel_log.append({"country": country_visited, "visits": times_visited, "cities": cities_visited})