0
Can anyone tell me difference in using single or double quotes?
5 Answers
+ 2
No difference.
Both of them are used to represent string values.
If you want to use apostrophe in your string then double quote is useful.
But python also has feature of backlash (\) for print single quote inside a single quoted string.
Thus, it is just a feature of Python that it supports both quotes for String value declaration.
+ 1
So serious lol there's no difference
0
(/)
0
(/)
0
(/)