numbers = [5,1,13,2,7,9,10]
- Use
each
to return the first element that is divisible by 3. - Refactor the code you implemented for #1 above to use
find
instead ofeach
. - Use
each
to find the first element that is greater than 5. - Refactor the code you implemented for #3 above to use
find
instead ofeach
.