Ruby en boucle
while [condition]
do something
end
weegee
while [condition]
do something
end
num = 0
while num < 2 do
print("num = ", num)
end
print("End")
while $i < $num do
puts("Inside the loop i = #$i" )
$i +=1
end