Skip to content

Instantly share code, notes, and snippets.

@llogiq
Last active March 9, 2016 11:41
Show Gist options
  • Save llogiq/acc9730d3f70535e4b43 to your computer and use it in GitHub Desktop.
Save llogiq/acc9730d3f70535e4b43 to your computer and use it in GitHub Desktop.
i=1
(1..(args[0] as int)).each{i*=it}
print i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment