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

How to print a string with quotation mark?

How to print j.b with quotation mark?

23rd Dec 2019, 12:49 PM
Castor Reeva
Castor Reeva - avatar
3 Answers
+ 1
What do you mean with inverted comma? Is that a special sign?
23rd Dec 2019, 12:56 PM
HonFu
HonFu - avatar
0
I mean quotation mark
23rd Dec 2019, 3:21 PM
Castor Reeva
Castor Reeva - avatar
0
There are a few ways: print(" ' ") #different qmarksoutside print(' \' ') #special marking This is explained very early in the Python tutorial - just go on with it!
23rd Dec 2019, 3:25 PM
HonFu
HonFu - avatar