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
Binary to Integers / Integers to Binary
personal use
Conta valores acima da média - LUA
Code golf - ASCII art #1
ok
roulette
Frequency distribution of rolling a certain number on xDy
Conta valores acima da média - LUA
Area of Sector Calculator
Show current system clock