pooriar
Joined 5 years ago
Karma
63
Submissions
56
Member since
Feb 14
Feel free to get in touch!
View on Hacker NewsJoined 5 years ago
(1..20).each do |i|
puts i if i.odd? || i.prime?
end
edit - upon testing, I just realized the parent's code prints 10 & 16, my code does not, so not the same.But I kept trying, looking for a clever way around the problem, and I found it! This course is everything I learned during that process, and it's currently free for my birthday weekend, so have at it :)
Discount code is "HBD" if it doesn't work, use this url: