On 26Feb2023 13:07, Hen Hanna <[email protected]> wrote:
is there any reason to prefer " over ' ?
Not inherently.It is only important if you want to embed one of those characters in a string, eg:
x = "That's silly."
versus:
x = 'That\'s silly.'
and the converse for the other quote character.
Cheers,
Cameron Simpson <[email protected]>
--
https://mail.python.org/mailman/listinfo/python-list
