while for循环
摘要:
x = 'spam' while x: print(x, end=' ') x = x[1:] spam pam am m break 跳出最近所在的循环 continue 跳到所在循环的开头处 pass 啥都不做 def func(): pass def func(): ... continue 阅读全文
posted @ 2019-07-17 08:21 幻嘤剑舞 阅读(160) 评论(0) 推荐(0) 编辑