On 26Feb2023 13:07, Hen Hanna <henha...@gmail.com> 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 <c...@cskk.id.au> -- https://mail.python.org/mailman/listinfo/python-list