A while loop is similar to the loop loop except that you declare the condition that will break out of the loop up front. i = 0 while i < 10 do puts "i is #{ ...
確定! 回上一頁