Skip to content

Instantly share code, notes, and snippets.

@EmanuelCadems
Created May 9, 2017 03:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EmanuelCadems/9476ba44a067f8d7393d55bafbfbbc5b to your computer and use it in GitHub Desktop.
Save EmanuelCadems/9476ba44a067f8d7393d55bafbfbbc5b to your computer and use it in GitHub Desktop.
def stars(n)
n.times {print"*"}
end
stars(5)
puts "\n"
stars(3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment