string with double quotation marks | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

string with double quotation marks

How do I print string with double quotation marks?

20th May 2020, 7:23 PM
Steve Biko
Steve Biko - avatar
1 Answer
+ 4
Much like 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 said, you can either use a single quotation mark or escape the double one with the backslash "\". Refresh the lesson here about character escaping: https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2274/
20th May 2020, 7:57 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar