📌  相关文章
📜  如何检查字符串是否仅由 python 中的字母组成 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:31.630000             🧑  作者: Mango

代码示例1
str1 = "hello world. welcome to python examples."

bool = str1.isalpha()

print('str1 contains only alphabets:', bool)
//output will be False