Last active
May 6, 2017 12:45
-
-
Save ryush00/61500faf6fc77202c3df1c28a41a6219 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
# COPYRIGHT ryush00 | |
# 사용법 | |
# number.rb 반복수 시작수] | |
n = ARGV[1].to_i | |
time = ARGV.first.to_i | |
string = "" | |
time.times do | |
string += n.to_s | |
n += 1 | |
end | |
puts string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment