0

lists

why does output contain list with single-quotes when code contains double-quotes?

10th Mar 2021, 1:41 AM
Chris L
1 Answer
+ 1
because that's the way Python default format list (and strings, if you use repr() output), until string contains ar least one single quote (then string is enclosed with double quotes)...
10th Mar 2021, 1:59 AM
visph
visph - avatar