python while 学习

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

 

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