Python——while循环

1.while循环不断地运行,直到指定的条件不知足为止。python ①a = 1事件    while a <= 5:ip         a += 1for循环 ②while unconfirmed_users[]:循环     #只要列表不为空,就会一直执行遍历 2.使用标志while active = Trueco while active:字典     do 事件 3.使用break退出
相关文章
相关标签/搜索