题解 | #列表的长度#

列表的长度

https://www.nowcoder.com/practice/2b32ef2fd5bb42159e01121fac9fd496

import sys

str = input().split()
str_list = list()
for i in str:
    str_list.append(i)
print(len(str_list))

全部评论

相关推荐

移动云能力 苏小妍 总包多3w左右
点赞 评论 收藏
转发
点赞 收藏 评论
分享
牛客网
牛客企业服务