字符串最后一个单词的长度
https://www.nowcoder.com/practice/8c949ea5f36f422594b306a2300315da
print(len(input().split()[-1]))
暂无评论,快来抢首评~
相关推荐