Ruby 循环while, for, until, break, redo 和retry ... #!/usr/bin/ruby $i = 0 $num = 5 while $i < $num do puts("Inside the loop i = #$i" ) $i +=1 end.
確定! 回上一頁