Challenge for Methods

Challenge

What will the following code return?

def triple(n)
  n * 3
end

triple triple 2

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]