Skip to main content

element.shell_capacity()

Get the valence shell capacity of the element’s period.

Usage

Source

element.shell_capacity(key)

Parameters

key: int | str
Atomic number or symbol.

Returns

int
Shell capacity (2, 8, 18, or 32).