+ 1
What's the difference of (') and (")?
I don't know the difference between (') and (")
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
+ 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" ;
0
There is no difference.



