What is the difference between having one or two quotation marks? Sorry for the noob question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the difference between having one or two quotation marks? Sorry for the noob question

21st Jul 2016, 1:46 PM
marci
2 Answers
+ 3
It's useful if you want to use quotation marks inside your string. Like this "I'm going to 'eat' you." Otherwise there's no difference.
22nd Jul 2016, 3:44 PM
A. Barbosa
A. Barbosa - avatar
+ 1
in situations of using more than one string in your code ,we use different types of quotation to identify them.it can be ',","',"",""'
23rd Jul 2016, 6:57 AM
Anane Ebenezer
Anane Ebenezer - avatar