摘要: 递归:函数调用自己 使用一个计算n的阶乘来举例子 package main //递归:函数调用自己 import "fmt" //计算n的阶乘 func f(n uint64) (q uint64) { //func f(5 uint64) (q uint64) { if n <= 1 { retu 阅读全文
posted @ 2022-01-07 10:07 iXiAo9 阅读(39) 评论(0) 推荐(0) 编辑