osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strings: double versus single quotes


On Sat, May 23, 2020 at 10:52 PM Abdur-Rahmaan Janhangeer
<arj.python at gmail.com> wrote:
>
> The interpreter prefers single-quotes
>
> >>> "single or double"
> 'single or double'
>
>>> 'not all that strongly, it doesn\'t'
"not all that strongly, it doesn't"

ChrisA