Learn
Next up: let’s simplify our method madness by removing unnecessary return
s from our code.
Instructions
1.
Write a method, square
, that takes a number as an argument and implicitly returns the square of that number.
Take this course for free
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.