## element.shell_capacity()


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


Usage

``` python
element.shell_capacity(key)
```


## Parameters


`key: int | str`  
Atomic number or symbol.


## Returns


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