Last active
August 15, 2020 09:46
-
-
Save tai-cha/0b6f364f27e84bde588d7f902bb0b240 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
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