0
strings
completing a string containing double quotes
6 Answers
+ 1
If you want to print.
I love programming in ''python'' always.
Then you should do. Print with single quote.
print('I love programming in ''python'' always.').
If you want to print.
I love programming in 'python' always.
Then you should do. Print with double quote.
print(''I love programming in 'python' always.'').
NB: pay attention to the quotes.
+ 1
Try this :
print('I love programming in \"python\" always')
+ 1
To get a double quotes in a string
You must first start your string with a single quotes and then include the double string inside
print(âhello âworldâ!â)
>>>hello âworldâ!
0
i dont know
0
do you mean
print(â âthese double quotes are now visible in my printâ â)
?