Learn

Now that we can direct our program using if / else statements, we can produce different results based on different user input.

In this project, we’ll combine control flow with a few new Ruby string methods to Daffy Duckify a user’s string, replacing each "s" with "th".

Instructions

1.

Click Run to see the Daffy Duckifier in action and to start building your own!

Take this course for free

By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.
Already have an account?