0
String containing a double quotes?
2 ответов
+ 2
use backslash before the double quote. it looks like this \"
0
To use double quotes within a string containing double quotes you should add a backslash before the double quote within the string to enable Python to ignore the double quote within the string to end the quote but to print it in the double quote as a double quote.
It looks like this \"