python strings | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

python strings

how do you do this question it says “complete the code to create string with double quote" >>>"--- " the hint gives this "\"

10th Aug 2018, 7:21 AM
Dongyang ZHAO
Dongyang ZHAO - avatar
2 ответов
+ 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 "___"
10th Aug 2018, 7:32 AM
David Ashton
David Ashton - avatar
0
\"
12th Aug 2020, 9:55 AM
Mary Rose Lambonao
Mary Rose Lambonao - avatar