# Check if string is numeric

> Python makes it easy with isnumeric().

- Canonical: https://preview.arshadmehmood.com/today-i-learned/python/check-if-string-is-numeric/
- Section: python
- Author: Arshad Mehmood

Python makes it easy with `isnumeric()`.

```py
str = "this2009";  
print str.isnumeric()

str = "23443434";
print str.isnumeric()
```

