def symbol(self): """ Returns the symbol of the atom. Example: >>> Atom("B").symbol 'B' """ return number2symbol(self._Z)
def __str__(self): return "<%s: %s>" % (number2symbol(self._Z), self._position)