DEV Community

pooyaalamdari
pooyaalamdari

Posted on

loops

n = 1 
while n < 11
    puts n 
    n = n + 1
end

puts "Done!"
Enter fullscreen mode Exit fullscreen mode

Top comments (0)