Solution: Finding Divisors
Go over the implementation of finding all the divisors of a number.
We'll cover the following...
Solution
Press + to interact
check = nil(1..input).each do |x|check = input % xif check == 0array << xendend
Explanation
...