Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję0
python strings
how do you do this question it says “complete the code to create string with double quote" >>>"--- " the hint gives this "\"
2 odpowiedzi
+ 2
The escape character \ allows you to use double quotes inside double quotes:
"\"___"\"
You can accomplish the same thing using double quotes inside single quotes:
'"___"'
both produce "___"
0
\"