Is it compulsory to use two quotation marks in writing a text (String)..what of using one quotation mark ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it compulsory to use two quotation marks in writing a text (String)..what of using one quotation mark ?

Using string

11th Mar 2020, 9:03 PM
David Daniel
David Daniel - avatar
3 Answers
+ 1
From your, if you are asking in python, If you write text in between " " or ' ' 2quotation marks it becomes a string, otherwise not... Ex: "this is string" On one quotation mark invalid. You can use either single quotation marks or double quotation marks in python.. Pls tag language...
11th Mar 2020, 9:18 PM
Jayakrishna 🇮🇳
+ 1
Where did you read two quotation marks ? In text or in code ? In which code language ?
11th Mar 2020, 9:12 PM
sneeze
sneeze - avatar
0
Ok guys thanks for your replies
11th Mar 2020, 9:20 PM
David Daniel
David Daniel - avatar