How can I create a string to write double quote | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I create a string to write double quote

27th Nov 2017, 7:30 PM
Rehan Ali
Rehan Ali - avatar
2 Answers
+ 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