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

Nice work! Your program is complete—run it a few times to see how it counts up the number of occurrences of each word in your string.

Instructions

Once you click Run, you’re done! Take a moment to bask in the glow of your victory before moving on to your next programming adventure.

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?