摘要: contnue 跳出本次循环,继续到下次循环 break 结束整个循环 阅读全文
posted @ 2018-11-05 17:16 teven_rogers 阅读(95) 评论(0) 推荐(0)
摘要: #Author:Xk Lu_age=28count=0while count<3: age = int(input("age:")) if age==_age: print("you got it!") break elif age>_age: print("think smaller ...") 阅读全文
posted @ 2018-11-05 16:32 teven_rogers 阅读(93) 评论(0) 推荐(0)