📜  如何在python代码示例中获取字符串的长度

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

代码示例3
var = "python is amazing programming language"
print(len(var))
# 38