len(str)获取字符串长度 str = "abc" len(str) # 3 来源:https://www.cnblogs.com/luguankun/p/11901981.html 标签 python 长度