Z18937

{
    "Z1K1": "Z2",
    "Z2K1": {
        "Z1K1": "Z6",
        "Z6K1": "Z18937"
    },
    "Z2K2": {
        "Z1K1": "Z14",
        "Z14K1": "Z18932",
        "Z14K3": {
            "Z1K1": "Z16",
            "Z16K1": "Z610",
            "Z16K2": "def Z18932(Z18932K1):\r\n    atomic_masses = {\r\n        'H': 1.008, 'He': 4.0026, 'Li': 6.94, 'Be': 9.0122, 'B': 10.81,\r\n        'C': 12.01, 'N': 14.007, 'O': 15.999, 'F': 18.998, 'Ne': 20.180,\r\n        'Na': 22.990, 'Mg': 24.305, 'Al': 26.982, 'Si': 28.085, 'P': 30.974,\r\n        'S': 32.06, 'Cl': 35.45, 'Ar': 39.95, 'K': 39.10, 'Ca': 40.08,\r\n        'Sc': 44.956, 'Ti': 47.867, 'V': 50.942, 'Cr': 51.996, 'Mn': 54.938,\r\n        'Fe': 55.845, 'Co': 58.933, 'Ni': 58.693, 'Cu': 63.546, 'Zn': 65.38,\r\n        'Ga': 69.723, 'Ge': 72.630, 'As': 74.922, 'Se': 78.971, 'Br': 79.904,\r\n        'Kr': 83.798, 'Rb': 85.468, 'Sr': 87.62, 'Y': 88.906, 'Zr': 91.224,\r\n        'Nb': 92.906, 'Mo': 95.95, 'Tc': 98.00, 'Ru': 101.07, 'Rh': 102.91,\r\n        'Pd': 106.42, 'Ag': 107.87, 'Cd': 112.41, 'In': 114.82, 'Sn': 118.71,\r\n        'Sb': 121.76, 'Te': 127.60, 'I': 126.90, 'Xe': 131.29, 'Cs': 132.91,\r\n        'Ba': 137.33, 'La': 138.91, 'Ce': 140.12, 'Pr': 140.91, 'Nd': 144.24,\r\n        'Pm': 145.00, 'Sm': 150.36, 'Eu': 151.96, 'Gd': 157.25, 'Tb': 158.93,\r\n        'Dy': 162.50, 'Ho': 164.93, 'Er': 167.26, 'Tm': 168.93, 'Yb': 173.04,\r\n        'Lu': 174.97, 'Hf': 178.49, 'Ta': 180.95, 'W': 183.84, 'Re': 186.21,\r\n        'Os': 190.23, 'Ir': 192.22, 'Pt': 195.08, 'Au': 196.97, 'Hg': 200.59,\r\n        'Tl': 204.38, 'Pb': 207.2, 'Bi': 208.98, 'Po': 209.00, 'At': 210.00,\r\n        'Rn': 222.00, 'Fr': 223.00, 'Ra': 226.00, 'Ac': 227.00, 'Th': 232.04,\r\n        'Pa': 231.04, 'U': 238.03, 'Np': 237.00, 'Pu': 244.00, 'Am': 243.00,\r\n        'Cm': 247.00, 'Bk': 247.00, 'Cf': 251.00, 'Es': 252.00, 'Fm': 257.00,\r\n        'Md': 258.00, 'No': 259.00, 'Lr': 262.00, 'Rf': 267.00, 'Db': 270.00,\r\n        'Sg': 271.00, 'Bh': 270.00, 'Hs': 277.00, 'Mt': 278.00, 'Ds': 281.00,\r\n        'Rg': 282.00, 'Cn': 285.00, 'Nh': 286.00, 'Fl': 289.00, 'Mc': 290.00,\r\n        'Lv': 293.00, 'Ts': 294.00, 'Og': 294.00\r\n    }\r\n\r\n    import re\r\n\r\n    def parse_formula(Z18932K1):\r\n        pattern = r'([A-Z][a-z]?)(\\d*)'\r\n        matches = re.findall(pattern, Z18932K1)\r\n\r\n        element_counts = {}\r\n        for (element, count) in matches:\r\n            count = int(count) if count else 1\r\n            if element in element_counts:\r\n                element_counts[element] += count\r\n            else:\r\n                element_counts[element] = count\r\n        return element_counts\r\n\r\n    element_counts = parse_formula(Z18932K1)\r\n    molar_mass = 0.0\r\n\r\n    for element, count in element_counts.items():\r\n        if element in atomic_masses:\r\n            molar_mass += atomic_masses[element] * count\r\n        else:\r\n            return f\"Unknown: {element}\"\r\n\r\n    return f\"{molar_mass:.2f} g/mol\""
        }
    },
    "Z2K3": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11",
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1002",
                "Z11K2": "Molar mass calculation (python)"
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1014",
                "Z11K2": "Ngụkọta ọnụ ọgụgụ nke molar (python)"
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1430",
                "Z11K2": "Berechnung einer molaren Masse (python)"
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1051",
                "Z11K2": "Moolimassan laskenta (python)"
            }
        ]
    },
    "Z2K4": {
        "Z1K1": "Z32",
        "Z32K1": [
            "Z31"
        ]
    },
    "Z2K5": {
        "Z1K1": "Z12",
        "Z12K1": [
            "Z11",
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1002",
                "Z11K2": "There might be some inaccuracies in the weights of the elements; if so, please feel free to correct them."
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1014",
                "Z11K2": "Enwere ike inwe ụfọdụ ezighi ezi na nha nke mmewere ndị ahụ; ọ bụrụ otu a, biko nweere onwe gị imezi ha."
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1430",
                "Z11K2": "Es könnten einige Ungenauigkeiten bei den Gewichten der Elementen geben; Wenn ja, dann zögere nicht, sie zu korrigieren."
            },
            {
                "Z1K1": "Z11",
                "Z11K1": "Z1051",
                "Z11K2": "Alkuaineiden painoissa voi olla epätarkkuuksia, joita saa vapaasti korjata."
            }
        ]
    }
}