5 つの文字列の半角スペース区切りでの分割し、1行ずつ出力する問題をRubyを使って解きました
array1 = ["one","two","three","four","five"]
for str in array1 do
puts str
end
出力結果
one
two
three
four
five
Go to list of users who liked
5 つの文字列の半角スペース区切りでの分割し、1行ずつ出力する問題をRubyを使って解きました
array1 = ["one","two","three","four","five"]
for str in array1 do
puts str
end
出力結果
one
two
three
four
five
Register as a new user and use Qiita more conveniently
Go to list of users who liked