local c = a + b a = b b = c end return b end io.write("enter n: ") n = io.read() fn = fib(n) print(fn). 函式不一定要有參數或傳回值。例如,下面的函式:.
確定! 回上一頁