0

number 2 question of strings for python

i can not go on with the basics because i am stuck on a question the question is complete the code to create a string containing a double quote. even my teacher here can not solve it please what is the answer

19th Sep 2020, 12:32 PM
Eniola
Eniola - avatar
2 odpowiedzi
0
you cant put " inside a string with ", without escaping the double quotes with a backslash. or just write the string with single quotes and use doubles inside
19th Sep 2020, 12:36 PM
Slick
Slick - avatar
0
\" You would have been able to do this if you have gone through the notes just before it.
19th Sep 2020, 12:42 PM
Avinesh
Avinesh - avatar