Python计算字符串长度实例解读