03 for文
for.rb
for
i
in
1.
.
3
do
print
(
"i="
,
i
,
"\n"
)
end
print
(
"End"
)
実行
$ ruby
for
.
rb i
=
1
i
=
2
i
=
3