else: print("for迴圈結束! ... 階層值=", r) Python 程式的執行結果可以顯示 5!=5*4*3*2*1=120 的階層函數值,這是在 else 程式區塊顯示執行結果,如下所示:巢狀迴圈與 ...
確定! 回上一頁