Log in from a computer to take this course

You'll need to log in from a computer to start Learn Ruby. But you can practice or keep up your coding streak with the Codecademy Go app. Download the app to get started.

apple storegoogle store
Learn

Good! Now let’s do a little math.

Instructions

1.

In the editor, set the variables:

  • sum equal to 13 + 379
  • product equal to 923 * 15
  • quotient equal to 13209 / 17

Print each variable to the console using puts if you want to see the results.

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?