Home stretch—now we want to display the Daffy Duckified string to the user. You can do that using the string interpolation we learned earlier:

my_string = "muchachos" print "Adios, #{my_string}!" # ==> "Adios, muchachos!"



Add a puts statement that uses string interpolation to show the user their transformed 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?