0
What is the difference between \' and \"?
2 Answers
+ 2
\' is used to insert single quote character in a single quoted string.
Example:
print('Doesn\'t John read books')
\" is used to insert double quote character in a double quoted string.
Example:
print("Animation was all about \"fooling\" your eyes from reality.")
0
Actually the only difference is that ' and " are different characters.



