> For the complete documentation index, see [llms.txt](https://docs.arkannis.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arkannis.net/programming/python/classic-python/isdigit-isdecimal-isalpha.md).

# isdigit(), isdecimal(), isalpha()

## .isdigit()

* Checks if all characters in string is digit

```python
'76'.isdigit()  # Evaluates to True
'1.2'.isdigit() # Evalutates to False
```

## .isdecimal()

Is decimal works the same way as `.isdigit()`

```python
'76'.isdigit()  # Evaluates to True
'1.2'.isdigit() # Evalutates to False
```

## .isalpha()

* Checks if all characters in the text are letters

```python
'abc'.isalpha() # Evaluates to True
'76'.isalpha()  # Evaluates to False
```
