Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Lua recursion with function

Language: Layout:
+ ] Show input
Absolute running time: 0.08 sec, cpu time: 0.02 sec, memory peak: 3 Mb, absolute service time: 0,1 sec 
edit mode |  history  | discussion
Hello, Nel! 

Creating recursion on n == 0
Creating recursion on n == 1
Creating recursion on n == 2
Creating recursion on n == 3
Creating recursion on n == 4
n: 5, local num: 5
n: 5, local num: 4
n: 5, local num: 3
n: 5, local num: 2
n: 5, local num: 1
n: 5, local num: 0