looping loops in ruby (noob)
    n = 0
    m = 40
    o = 0
    while n < m 
    n = n + 1
    end
    while n = m 
    o = o + 1 
    n = 0 
    end

With that code, what would be the best way to make it so once it went through the second loop it would go back through the first???

Any help for this beginner is welcomed. :)



looping loops in ruby (noob)
===

    n = 0
    m = 40
    o = 0
    while n < m 
    n = n + 1
    end
    while n = m 
    o = o + 1 
    n = 0 
    end

With that code, what would be the best way to make it so once it went through the second loop it would go back through the first???

Any help for this beginner is welcomed. :)


