python&rdkit | 从相对原子质量推测元素


def guess_element_from_mass(mass):
    """
    This **function** is used to guess element from its mass

    :param mass: an int or a float, the mass
    :return: the element name
    """
    elements = ["X", "H", "He", "Li", "Be"

你可能感兴趣的:(AIDD,CADD,化学,生物,python,健康医疗)