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&#
python&rdkit | 从相对原子质量推测元素
![](https://img-home.csdnimg.cn/images/20240711042549.png)