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

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?