📌  相关文章
📜  检查字符串中有多少个字母python代码示例

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

代码示例1
#use the built in function len()

len("hello")

#or you can count the characters in a string variable

a = "word"
len(a)