首页 > 其他 > 详细

6、continue语句

时间:2018-01-20 21:54:52      阅读:153      评论:0      收藏:0      [点我收藏+]
while True:
    s = input(Enter something : )
    if s == quit:
        break
    if len(s) < 3:
        print(Too small)
        continue
print(Input is of sufficient length)
# 自此处起继续进行其它任何处理

 

6、continue语句

原文:https://www.cnblogs.com/ludongjun/p/8321895.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!