For printing single quotes are used or double quotes are used? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

For printing single quotes are used or double quotes are used?

13th Jul 2016, 2:05 PM
Lunu'anaki
Lunu'anaki - avatar
2 Answers
0
You can use both single and double quotes according to your convenience both will give similar output Example if you print ('hello') it will print out hello and if you use double quotes and type print ("hello") this will print out same answer hello only so its up to you which quotes you wanna use
29th Dec 2016, 7:25 AM
Vipin Patel
Vipin Patel - avatar
0
single quotes and double quotes are used...if you put double in [ print("Hi") ] it'll give you the statement: Hi
16th Jul 2016, 1:15 PM
Fiyi Aboderin
Fiyi Aboderin - avatar