Where does the original sentence appear?


#1



https://www.codecademy.com/courses/ruby-beginner-en-JdNDe/0/1

By starting with " print thtring, pleathe! " of course that is what will be printed. Where was/is the original statement of "String, please!" for the Duckifier to duckify?

Replace this line with your code.


#2

i am not sure what you're asking, but there is no original string that says "String, please!"
in that exercise the first string is meant to imitate Dafy Duck's speech style


#3

Is the example in lesson 1. Ignore this and concentrate on the instructions which are very easy to follow.


#4

thank you for your help


#5

Thank you for your help


#6

@lo26, so as you coded to ask to print whatever you wish in console. So print just something after the request and this will give you the new line. The only purpose is to test how your code really works.
Example (in console):

Thtring, pleathe!: Your string (any text)
Your string is: your thtring (any text)
nil

Here, you can verify that the Ruby has changed your 's' to 'th'


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.