python array length
use:
1 2 3 |
theArr = [1, 5, 7,9] print len(theArr) |
人生没有原因,闯出一路精彩
use:
1 2 3 |
theArr = [1, 5, 7,9] print len(theArr) |
strlen()函数返回结束空字符前的字符串长度。 [crayon-6477d4f5b2a6842125541 […]