I can't wrap my head around how to replace the "for" loop with an n.times can anyone give a little guidance? Thanks in advance!

### ORIGINAL

prime = Prime.new

for num in (1..n)

prime_array.push(prime.next)

end

prime_array

end

### MINE

prime = Prime.new

n.times {prime_array.push(prime.next)}

prime_array

end