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
2 Answers
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
0
\"
You would have been able to do this if you have gone through the notes just before it.