Find why storing this location record fails before the final print.
Python
locations = {}
coordinates = [48.86, 2.35]
key = ("Paris", coordinates)
locations[key] = "warehouse"
print(locations[key])
locations = {}
coordinates = [48.86, 2.35]
key = ("Paris", coordinates)
locations[key] = "warehouse"
print(locations[key])