How can I create a string to write double quote | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

How can I create a string to write double quote

27th Nov 2017, 7:30 PM
Rehan Ali
Rehan Ali - avatar
2 Antworten
+ 2
print('"Hello World"') I'm not sure if this is what you mean. I used double quotes inside single quotes
27th Nov 2017, 7:43 PM
Koketso Dithipe
Koketso Dithipe - avatar
+ 2
I don't learn Python yet but I think by escaping the quote with \ like print("\"Hello men\"")
27th Nov 2017, 7:52 PM
Elegis Sossou
Elegis Sossou - avatar