0

What will we use single quote or double quotes?? But both are working

22nd May 2017, 5:00 AM
Vamsi Krishna Bollineni
Vamsi Krishna Bollineni - avatar
3 Réponses
+ 15
In Python, Strings can be single quoted or double quoted. But double quotes look much better 😍
22nd May 2017, 5:07 AM
Dev
Dev - avatar
22nd May 2017, 6:15 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
Python allows use of both for strings... But in other languages single ' ' are used for chars and double " " are used for strings. it is a good habit to get into
22nd May 2017, 9:53 AM
LordHill
LordHill - avatar