break 语句用于跳出for 和while 循环过程,跳出后对应的else 部分将不执行。 ... for letter in 'Python': if letter == 'o': break; print('当前字母为:', letter).
確定! 回上一頁