python 字符串长度

经过内置方法len()来计算字符串的长度,注意这个计算的是字符的长度。spa

aa = 'afebb'
bb = '你'
print len( aa)
print len(bb)
相关文章
相关标签/搜索