掃碼下載編程獅APP
#!/usr/bin/ruby # -*- coding: UTF-8 -*- $i = 0 $num = 5 begin puts("在循環(huán)語句中 i = #$i" ) $i +=1; end until $i > $num