+ 1

Complete the code to create a string containing a double quote.

"--" what is it? how can sloved it with example please

10th Feb 2018, 6:41 PM
Kawser Hamid
Kawser Hamid - avatar
20 ответов
+ 3
To output a string with double quotes, you would just need to use a backslash followed by the double quote to make sure that it doesn't end the string. It should be "\""
10th Feb 2018, 6:45 PM
Faisal
Faisal - avatar
+ 5
You can use single quotes to denote a string containing double quotes and vice versa. 'She said: "Watch out!" and grabbed him.' "That's right, my bad."
10th Feb 2018, 6:43 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 5
i can't sloved this.what i write in the gap.
10th Feb 2018, 6:48 PM
Kawser Hamid
Kawser Hamid - avatar
+ 1
The right answer is: >>>"\""
17th Jul 2019, 8:38 AM
Ali Amini
Ali Amini - avatar
+ 1
\" this is not valid code
23rd Jul 2020, 3:20 PM
Aqsa Khan
Aqsa Khan - avatar
0
as mentioned above or use triple quote as string container
11th Feb 2018, 12:13 AM
Markus Kaleton
Markus Kaleton - avatar
0
Thanks alot
28th Jun 2019, 8:02 AM
Nwankwo Chidera
0
How to solve this one
28th Jun 2019, 4:20 PM
Harish Gobbur
Harish Gobbur - avatar
0
"\""
24th Jul 2019, 11:44 AM
parchuri susmitha
parchuri susmitha - avatar
0
to containing double quotes for string we need to give “/“”
13th Sep 2019, 1:02 AM
Saif Ahamad
0
i dont know the answer it is not "\""
1st Oct 2019, 5:55 PM
Braden Lige
Braden Lige - avatar
0
Yeah the answer is "\""
18th Jan 2020, 11:57 AM
Ammar Mukhtar
Ammar Mukhtar - avatar
0
>>>"\"
24th Jan 2020, 4:55 AM
Saranraj.G
Saranraj.G - avatar
0
I've been stucked in this phase for hours and can't seem to get it right. / is not working, /' is not working, /" is not working and one cannot type more than just two characters. \" is what worked! pheeew! onto the next,
17th Feb 2020, 8:41 PM
Imaobong Edukere
Imaobong Edukere - avatar
0
\"
5th Apr 2020, 4:09 AM
Eng Mohanad Naji Salim
 Eng Mohanad Naji Salim - avatar
0
The answer is "\""
5th Apr 2020, 12:29 PM
Vino Kp
Vino Kp - avatar
0
>>>"\""
20th Jun 2020, 1:10 AM
shaker farooqui
shaker farooqui - avatar
0
the answer is \"
6th Aug 2020, 5:28 AM
Drakshayani cheede
Drakshayani cheede - avatar
0
In python, it is really simple, you would only have to add the backslash and it would be solved.
9th Feb 2021, 5:40 PM
Sebastián Rodríguez Murillo
Sebastián Rodríguez Murillo - avatar