I don't know how to create a string containing double quotation-marks in Python. | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

I don't know how to create a string containing double quotation-marks in Python.

16th Apr 2018, 11:12 AM
hemed
2 Respuestas
+ 3
Use \ before this quote. " he said \" Hello world. \" "
16th Apr 2018, 11:14 AM
Bartosz Pieszko
Bartosz Pieszko - avatar
0
Not correct Use \" to enter a double quote in a string contained within double quotes
10th Oct 2019, 11:01 PM
Omar Gallaoui
Omar Gallaoui - avatar