题解 | #统计单词#Python一行
统计单词
https://www.nowcoder.com/practice/11c6e7c9987c4ab48f8cdd8834c27064
print(*(len(word) for word in input().rstrip('.').split()))
统计单词
https://www.nowcoder.com/practice/11c6e7c9987c4ab48f8cdd8834c27064
print(*(len(word) for word in input().rstrip('.').split()))
相关推荐