python while 学习

while True:
    reply = input('please input:')
    if reply == 'stop':
        break
    else:
        print (reply.upper())
View Code

 

posted @ 2017-11-16 16:59  彩笔杀手  阅读(173)  评论(0)    收藏  举报