strings | Sololearn: Learn to code for FREE!

-1

strings

completing a string containing double quotes

8/14/2019 7:44:09 PM

Robinson Wandere

6 Answers

New Answer

+1

U can use double quotes and single quotes for strings

+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” ‘) ?