0

Can anyone tell me difference in using single or double quotes?

8th Aug 2016, 9:35 AM
Penugonda Akash
Penugonda Akash - avatar
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.
8th Aug 2016, 2:03 PM
Shashank Keshari
Shashank Keshari - avatar
+ 1
So serious lol there's no difference
8th Aug 2016, 11:37 PM
TheHexUser
0
(/)
15th Aug 2016, 3:34 PM
padmaja
0
(/)
15th Aug 2016, 3:36 PM
padmaja
0
(/)
24th Aug 2016, 12:29 AM
Betsy Brody
Betsy Brody - avatar