0
Help me understand the difference
"For instance, double quotes can't be directly included in a double quote string; this would ucause it to end prematurely." AND "Double quotes only need to be escaped in double quote strings, and the same is true for single quote strings."
3 Answers
+ 2
yes,you can add them without using escape character
print("He said, 'Hi' ")
output: He said 'Hi'
+ 1
thanks sreejith, and jay matthews for your second answer that I've understood perfectly well.
0
....that has helped me understand the second description but not the first