Skip to content

Instantly share code, notes, and snippets.

@tai-cha
Last active August 15, 2020 09:46
Show Gist options
  • Save tai-cha/0b6f364f27e84bde588d7f902bb0b240 to your computer and use it in GitHub Desktop.
Save tai-cha/0b6f364f27e84bde588d7f902bb0b240 to your computer and use it in GitHub Desktop.
ゴン
def gon(num)
"ゴ" * num + "ン"
end
puts "回数を入力して下さい"
(1..readline.to_i).each{|i| puts gon i }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment