def fib n i = 2 a ,b = 1, 1 while i < n a,b = b, a b i = 1 end b end p fib 16 #打印987
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字

上传中....