Skip to main content
3 of 4
Removed a space that didn't belong there, added syntax highlighting
user3094403
  • 8.4k
  • 7
  • 46
  • 71

#Ruby: 22 characters

n.downto(1).reduce(:*) 
Sivan
  • 21
  • 1