标签:int while循环 dao for循环 for bsp tin span size
--道心
name1_list=[‘daoxin‘,‘wuxin‘,‘zhixin‘]
for ele in name1_list:
#找到“wuxin”,打印元素
if ele == "daoxin":
print("find")
continue
#找到“wuxin”,结束循环,打印元素
if ele == ‘wuxin‘ :
print("终于等到你")
break
else:
pass
count=0
while (count<9):
print("the count is :",count)
count=count+1
print("Good bye")
标签:int while循环 dao for循环 for bsp tin span size
原文地址:http://www.cnblogs.com/DaoXin-WXR/p/6274980.html