ID EN
Built-in Types

isascii

Python 3.11

Return True if the string is empty or all characters in the string are ASCII, False otherwise. ASCII characters have code points in the range U+0000-U+007F.

Syntax

PYTHON
str.isascii()