0

String containing a double quotes?

24th Sep 2019, 9:53 AM
Raahyeah
2 Answers
+ 2
use backslash before the double quote. it looks like this \"
24th Sep 2019, 9:55 AM
Taste
Taste - avatar
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 \"
10th Oct 2019, 10:57 PM
Omar Gallaoui
Omar Gallaoui - avatar