3 Escaping Characters


#1



Replace this line with your code. 

'This isn't flying, this is falling with style!' please help me


#2

The program thought hat your single quote(') for isn't was the end of your statement. Change the beginning quote to a double quote ("). Same to the end.

Also, if it still doesn't work, place print or return at the beginning.


#3

Hey @jwarsame :slight_smile:

It looks like your code starts with "Replace this line with your code." This line is not listed as a comment, and therefore will throw an error when run, so start by deleting that. Next, replace your 's with ". Python is a very picky language down to indentation and what type of quote you used. Also make sure "please help me" isn't in there, as it will also throw an error. So fixed, your code should look like this:

print("This isn't flying, this is falling with style!")


#4

same its exactly happening with me!!!


#5

@uzairadam

What is the issue with it? (Please include code and tag me.)


#6

The string below is broken. Fix it using the escape backslash!

'This isn't flying, this is falling with style!'


#7

plz tell me the answer I really dont understand it


#8

If this is about escape characters, you just need to put a \ before the ' in isn't. Right now the computer think's there's a extra '. Using \ tells the computer to ignore the '.

So it'd be 'This isn\'t flying, this is falling with style!'

Let me know if this worked!


#9

im trying it right now !


#10

YES IT WORKED THANX YOU :grinning:


#11

thank you (spelling error)