迴圈 巢狀重點強調迴圈三要素: 初始化變數i =0 控制條件表示式:i < x 更新條件表示 ... 案例-列印三角形 i= 0 while i <5: j = 0 while j<i+1: j +=1 ...
確定! 回上一頁