2019年7月16日

if 和循环

摘要: 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-16 08:20 幻嘤剑舞 阅读(399) 评论(0) 推荐(0) 编辑

导航