Mbeezer@sh.itjust.works to 196@lemmy.blahaj.zone · 1 year agoThose damn liberulessh.itjust.worksimagemessage-square35fedilinkarrow-up1527arrow-down10
arrow-up1527arrow-down1imageThose damn liberulessh.itjust.worksMbeezer@sh.itjust.works to 196@lemmy.blahaj.zone · 1 year agomessage-square35fedilink
minus-squareSaintWacko@midwest.sociallinkfedilinkEnglisharrow-up18·1 year agoSee, this is what’s wrong with Prager U! Why would you use double quotes instead of single quotes for defining a string?
minus-squarezoey@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up2·1 year agoAren’t they interchangeable in python?
minus-squareSivecano@lemmy.dbzer0.comlinkfedilinkarrow-up4·1 year agoYes, but as someone with even a little pride and some c/c++ experience I always use double quotes
minus-squarediaphanous@feddit.delinkfedilinkarrow-up2·1 year agoI always use double quotes for output string, and single quotes for internal ones.
See, this is what’s wrong with Prager U! Why would you use double quotes instead of single quotes for defining a string?
Aren’t they interchangeable in python?
Yes, but as someone with even a little pride and some c/c++ experience I always use double quotes
I always use double quotes for output string, and single quotes for internal ones.