Multi-line Strings

Hi!
I’m stuck at the " Multi-line Strings".
I enter “# Assign the string here
to_you = ‘’‘Stranger, if you passing meet me and desire to speak to me, why? Should you not speak to me? And why should I not speak to you?’‘’
print(to_you)
It print it out okay but then it gave a problem " Did you set to_you to the given Whitman poem?” Didn’t I do it right?

What language? Do you have a link to the lesson in question?

Take a look at this guideline when posting:

It would help to have a link to the this exercise page; please post same.

We’re assuming this is a Python lesson. Does your multiline string look something like this?

to_you = '''
Stranger, if you passing meet me 
and desire to speak to me, why? 
Should you not speak to me? 
And why should I not speak to you?
'''

Thanks all for replying. It’s just the program, if the space is not correct, it won’t work. I fix the problem anyway.

1 Like