python自带函数——取得长度 len
提问人:杨紫红发布时间:2020-11-18
>>> len('this is a test string')
21
>>> creature_list = ['unicorn', 'cyclops', 'fairy', 'elf', 'dragon',
'troll']
>>> print(len(creature_list))
6
继续查找其他问题的答案?
相关视频回答
回复(0)
>>> len('this is a test string')
21
>>> creature_list = ['unicorn', 'cyclops', 'fairy', 'elf', 'dragon',
'troll']
>>> print(len(creature_list))
6
点击加载更多评论>>