python 封装一个取符串长度的函数

def getStrLen(str):
return len(str)

print(getStrLen("dsa456das4dasdas21"))
原文地址:https://www.cnblogs.com/pygo/p/11997491.html