Mbeezer@sh.itjust.works to 196@lemmy.blahaj.zone · 1 year agoThose damn liberulessh.itjust.worksimagemessage-square36fedilinkarrow-up1579arrow-down10
arrow-up1579arrow-down1imageThose damn liberulessh.itjust.worksMbeezer@sh.itjust.works to 196@lemmy.blahaj.zone · 1 year agomessage-square36fedilink
minus-squareLux@lemmy.blahaj.zonelinkfedilinkarrow-up46·1 year agohey i didn’t know prager u did python! they’re just defing a variable (RACISM) and setting the value to a string (BAD)
minus-squareSaintWacko@midwest.sociallinkfedilinkEnglisharrow-up19·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-squarediaphanous@feddit.delinkfedilinkarrow-up3·1 year agoI always use double quotes for output string, and single quotes for internal ones.
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-squarekamenoko@sh.itjust.workslinkfedilinkarrow-up9·1 year agoShould have set it to None since PraegerU doesn’t think it exists.
hey i didn’t know prager u did python! they’re just defing a variable (RACISM) and setting the value to a string (BAD)
See, this is what’s wrong with Prager U! Why would you use double quotes instead of single quotes for defining a string?
I always use double quotes for output string, and single quotes for internal ones.
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
Should have set it to None since PraegerU doesn’t think it exists.