Python 字符串 isascii() 方法
定义和用法
如果所有字符都是 ASCII 字符 (a-z),则 isascii()
方法返回 True。
语法
string.isascii()
参数值
无参数。
如果所有字符都是 ASCII 字符 (a-z),则 isascii()
方法返回 True。
string.isascii()
无参数。
If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
[email protected]
If you want to report an error, or if you want to make a suggestion, send us an e-mail:
[email protected]