Learn
Great work! This code looks better already.
We can remove even more, however. There’s one return
statement in this code that we can change from explicit to implicit!
Recall that Ruby will automatically return the value of the last expression it evaluates.
Instructions
1.
Find the unnecessary return
keyword and remove it.
Take this course for free
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.