+ 1

What's the difference of (') and (")?

I don't know the difference between (') and (")

3rd Nov 2016, 9:31 AM
였타수
였타수 - avatar
3 Answers
+ 3
Technically there's none as Python treats them the same way, but there are some unwritten rules i.e. using double quotes for strings that may be visible to user
3rd Nov 2016, 9:50 AM
Hƍtarƍ Oreki
Hƍtarƍ Oreki - avatar
+ 1
in some programming languages such as c , js, java they are treated as diffrent. 1. single quotes used for treating it as characters char x = 'g'; // true char y = 'qtqtq' ;// is error 2. double quotes for treating content inside quotes as string string s = "Solo Learn" ;
3rd Nov 2016, 11:54 AM
NIKHIL CM
NIKHIL CM - avatar
0
There is no difference.
3rd Nov 2016, 9:50 AM
Ven Zallow
Ven Zallow - avatar