Learn String Manipulation by Building a Cipher - Step 3

Tell us what’s happening:

You should have print() in your code. Pay attention to place the function call at the beginning of the line.

Your code so far


# User Editable Region

text = 'Hello World'
print(text)

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 3

print(text)
still not working

You are not supposed to print any actual text yet. It just wants an empty print.

1 Like

thank i got it now i am having a problem here
You should pass text to the print() function by adding the name of this variable within the opening and closing parentheses. Pay attention to place the function call at the beginning of the line.

Do you have a question or not sure about some language in the instructions?

yes i have a question
he code in the example above would print the string 'Hello!', which is the value of the variable greet passed to print() as the argument.

Print your text variable to the screen by passing the text variable as the argument to the print() function.

i don’t understand i’ve been trying

That’s not a question that’s just the instructions from the next step. It gives an example of how to print the variable greet

Now, you can follow the example and just replace greet with text