See just how easy and intuitive CoderPad Interview is to use below.
Guidelines to use Lua in this online IDE
The Lua environment gives you the ability to write simple syntax with powerful data description constructs, making it ideal for configuration, scripting, and rapid prototyping. For example:
function sum_n(n) local s = 0 for i = 1, n do s = s + i end return s end local n = 10 local s = sum_n(n) print("The sum of the first " .. n .. " positive integers is " .. s)Code language: Lua (lua)