Exemple #1
0
    def symbol(self):
        """
        Returns the symbol of the atom.

        Example:
        >>> Atom("B").symbol
        'B'
        """
        return number2symbol(self._Z)
Exemple #2
0
 def __str__(self):
     return "<%s: %s>" % (number2symbol(self._Z), self._position)