輸入 一整數N, 印出N 層Pascal 三角形. 例:N=6 印出. Python: n = int(input("請輸入有幾層:")). #宣告n*n 層二維陣列. P = [[0 for i in range(n+1)] for j in ...
確定! 回上一頁