About quote | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

About quote

why we are using single quote instead of double quote?

3rd Jun 2017, 9:13 AM
2 Answers
+ 18
You can use whichever you want... print("hello") print('hello') Both give same output... Things become messy for print('They're').. See the problem..?? Instead you can use print("They're") As such there is no confusion in beginning and ending
3rd Jun 2017, 10:15 AM
Frost - avatar
+ 1
thank you
3rd Jun 2017, 11:48 AM