times/ upto/ downto. while loop. 多數程式語言都有的while ,在Ruby 裡是寫成這樣的: counter = 0 while counter < 5 puts "hi, ...
確定! 回上一頁