0

strings

completing a string containing double quotes

14th Aug 2019, 7:44 PM
Robinson Wandere
Robinson Wandere - avatar
5 ответов
+ 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.
15th Aug 2019, 8:35 AM
Franky BrainBox
Franky BrainBox - avatar
+ 1
Try this : print('I love programming in \"python\" always')
29th Sep 2020, 4:13 AM
Mohammad Hosein Nosrati
Mohammad Hosein Nosrati - avatar
+ 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”!
18th Jan 2021, 6:26 AM
Osei Michael
Osei Michael - avatar
0
i dont know
14th Aug 2019, 7:44 PM
Robinson Wandere
Robinson Wandere - avatar
0
do you mean print(‘ “these double quotes are now visible in my print” ‘) ?
14th Aug 2019, 7:59 PM
Brave Tea
Brave Tea - avatar