题解 | #牛牛的金币#

简写单词

http://www.nowcoder.com/practice/0cfa856bf0d649b88f6260d878f35bb4

list1=list(input())
str1=''
str1=str1+list1[0]
for i in range(len(list1)):
    if list1[i]==' ':
        i+=1
        str1=str1+list1[i]
str1=str1.upper()
for i in str1:
    print(i,end='')
全部评论

相关推荐

点赞 收藏 评论
分享
牛客网
牛客企业服务