- 3

I cannot do the 2nd question of string in python

help me !!!!!!

9th Apr 2019, 9:20 AM
Santosh Verma
Santosh Verma - avatar
5 Respostas
+ 5
View the comments in the lesson, you are most likely to find enlightenment in there from peers' explanation.
9th Apr 2019, 9:29 AM
Ipang
+ 3
Santosh Verma try giving the link of the lesson you're facing problem with. Is it, complete the code to print a string containing a double quote? If yes, you need to use escape character " \" "
9th Apr 2019, 9:27 AM
Шащи Ранжан
Шащи Ранжан - avatar
0
😓
9th Apr 2019, 9:23 AM
Santosh Verma
Santosh Verma - avatar
0
The question is asking you to assign a variable, so that printing it will output " Because " without escaping will close the string assignment, the solution is to use backlash to escape the character. Answer \"
9th Apr 2019, 10:26 AM
Gordon
Gordon - avatar
0
Thank you for suggestions ☺🙂🤗😏😀
11th Apr 2019, 1:08 PM
Santosh Verma
Santosh Verma - avatar