The Rubyist's Loop the loop problem


#1


If your stuck in this problem first, you have to look at hint and you will get this n.times
{prime_array.push(prime.next) }. But that's wrong what you really want to do is take out the braces({})


 n.times
    prime_array.push(prime.next)


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.