字符串最后一个单词的长度

摘要: #python 3 实现 stra=input() a=stra.strip().split() print(len(a[-1])) 阅读全文
posted @ 2019-08-25 07:21 麦麦君 阅读(315) 评论(0) 推荐(0)