python获取字符串长度

len(str)获取字符串长度

str = "abc"
len(str)  # 3

猜你喜欢

转载自www.cnblogs.com/luguankun/p/11901981.html