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

The hard part’s over! Now we just need to let the user know if we don’t find any instances of the letter “s”.

Instructions

1.

Add an else statement that displays a string to the user to let them know if there are no “s”s in their string.

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?