Last active
June 19, 2017 21:02
-
-
Save cataclyst78/5364d4e863e8c4a9931f68294d81531e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- defines a factorial function | |
function fact (n) | |
if (n == 0) then | |
return 1 | |
else | |
return n*fact(n - 1) | |
end | |
end | |
-- return fact(5) | |
return string.format("Wait, so I can have this do whatever I want? Whatever at all??? %s", 20 * 10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment