Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Fibonacci in Lua (Inspired)
--//Fibonacci in Lua by T()m --[[// NOTE: This was inspired to be done by the person who made Fibonacci in Koltin ]] print([[Inspired by the code of "Fibonacci in Koltin"]]) local numberSet = {} local numbers = 1024 --//How many numbers to disply in Fibonacci local display = "" table.insert(numberSet, 0) table.insert(numberSet, 1) for fibonacci = 1, numbers do table.insert(numberSet, numberSet[fibonacci] + numberSet[fibonacci + 1]) display = display..numberSet[fibonacci]..", " end print(display) print("Inspired by Fibonacci in Koltin")
run
|
edit
|
history
|
help
0
Hakusu
Volume of sphere
For your YouTube comment section. (updated)
Brainfuck Interpreter (Lua) [reposted]
wwww
True every 5
Reverse strings function - Lua
Roots without the math library in Lua
Frequency distribution of rolling a certain number on xDy
Area and Circumference of a circle.