for a=1,10 do for b=1,10 do for c=1,10 do if c^2+b^2==a^2 then print('found a Pythagorean triple:',c,b,a)goto d end end end end::d::
This tool uses luamin to minify any Lua snippet you enter. Under the hood, luamin uses luaparse.
Made by @mathias — fork this on GitHub!