Learn

You know by now how we’ll start: we need to get input from the user.

Instructions

1.

Use a puts statement to prompt the user for input. Use gets.chomp to save this input to a variable called text.

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?