Z19624

{
    "Z1K1": "Z2",
    "Z2K1": {
        "Z1K1": "Z6",
        "Z6K1": "Z19624"
    },
    "Z2K2": {
        "Z1K1": "Z14",
        "Z14K1": "Z19623",
        "Z14K3": {
            "Z1K1": "Z16",
            "Z16K1": "Z610",
            "Z16K2": "def Z19623(Z19623K1, Z19623K2):\n  import math\n  lat = Z19623K1\n  lon = Z19623K2\n  city_data = {\n    'Tokyo': [35.6895, 139.6917],\n    'Jakarta': [-6.2146, 106.8451],\n    'Delhi': [28.7041, 77.1025],\n    'Seoul': [37.5665, 126.9780],\n    'Shanghai': [31.2304, 121.4737],\n    'São Paulo': [-23.5558, -46.6396],\n    'Mexico City': [19.4326, -99.1332],\n    'Cairo': [30.0444, 31.2357],\n    'Mumbai': [19.0760, 72.8777],\n    'Beijing': [39.9042, 116.4074],\n    'Dhaka': [23.8103, 90.4125],\n    'Osaka': [34.6937, 135.5023],\n    'New York': [40.7128, -74.0060],\n    'Karachi': [24.8607, 67.0011],\n    'Buenos Aires': [-34.6037, -58.3816],\n    'Chongqing': [29.5630, 106.5516],\n    'Istanbul': [41.0082, 28.9784],\n    'Kolkata': [22.5726, 88.3639],\n    'Manila': [14.5995, 120.9842],\n    'Lagos': [6.5244, 3.3792],\n    'Rio de Janeiro': [-22.9068, -43.1729],\n    'Tianjin': [39.0842, 117.2010],\n    'Kinshasa': [-4.4419, 15.2663],\n    'Guangzhou': [23.1291, 113.2644],\n    'Los Angeles': [34.0522, -118.2437],\n    'Moscow': [55.7558, 37.6173],\n    'Shenzhen': [22.5431, 114.0579],\n    'Lahore': [31.5820, 74.3294],\n    'Bangalore': [12.9716, 77.5946],\n    'Paris': [48.8566, 2.3522],\n    'Bogotá': [4.7110, -74.0721],\n    'Chennai': [13.0827, 80.2707],\n    'Lima': [-12.0464, -77.0428],\n    'Bangkok': [13.7563, 100.5018],\n    'Hyderabad': [17.3850, 78.4867],\n    'London': [51.5074, -0.1278],\n    'Tehran': [35.6892, 51.3890],\n    'Chicago': [41.8781, -87.6298],\n    'Chengdu': [30.5728, 104.0668],\n    'Nanjing': [32.0584, 118.7966],\n    'Wuhan': [30.5928, 114.3056],\n    'Ho Chi Minh City': [10.8231, 106.6297],\n    'Luanda': [-8.8383, 13.2344],\n    'Xian': [34.3406, 108.9378],\n    'Dongguan': [23.0205, 113.7518],\n    'Hangzhou': [30.2741, 120.1551],\n    'Foshan': [23.0293, 113.1155],\n    'Shenyang': [41.8057, 123.4315],\n    'Riyadh': [24.7136, 46.6753],\n    'Baghdad': [33.3128, 44.3615],\n    'Santiago': [-33.4489, -70.6693],\n    'Surat': [21.1702, 72.8311],\n    'Madrid': [40.4168, -3.7038],\n    'Suzhou': [31.3114, 120.6219],\n    'Pune': [18.5204, 73.8567],\n    'Saint Petersburg': [59.9343, 30.3351],\n    'Alexandria': [31.2001, 29.9187],\n    'Khartoum': [15.5007, 32.5599],\n    'Abidjan': [5.3097, -4.0128],\n    'Yangon': [16.8661, 96.1951],\n    'Johannesburg': [-26.2041, 28.0473],\n    'Dar es Salaam': [-6.8235, 39.2695],\n    'Casablanca': [33.5731, -7.5898],\n    'Harbin': [45.7797, 126.6324],\n    'Berlin': [52.5200, 13.4050],\n    'Kabul': [34.5553, 69.2075],\n    'Toronto': [43.6532, -79.3832],\n    'Nairobi': [-1.2921, 36.8219],\n    'Addis Ababa': [9.0246, 38.7468],\n  }\n  closest_city = None\n  closest_distance = float('inf')\n\n  for city, coords in city_data.items():\n    city_lat, city_lon = coords\n    distance = math.sqrt((lat - city_lat) ** 2 + (lon - city_lon) ** 2)\n    if distance \u003C closest_distance:\n      closest_city = city\n      closest_distance = distance\n\n  return closest_city"
        }
    },
    "Z2K3": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11",
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1002",
                "Z11K2": "python closest city to point"
            }
        ]
    },
    "Z2K4": {
        "Z1K1": "Z32",
        "Z32K1": [
            "Z31"
        ]
    },
    "Z2K5": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11"
        ]
    }
}