Mbeezer@sh.itjust.works to 196@lemmy.blahaj.zone · 11 months agoThose damn liberulessh.itjust.worksimagemessage-square35fedilinkarrow-up1579arrow-down10
arrow-up1579arrow-down1imageThose damn liberulessh.itjust.worksMbeezer@sh.itjust.works to 196@lemmy.blahaj.zone · 11 months agomessage-square35fedilink
minus-squareLux@lemmy.blahaj.zonelinkfedilinkarrow-up46·11 months 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·11 months 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·11 months agoI always use double quotes for output string, and single quotes for internal ones.
minus-squarezoey@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up2·11 months agoAren’t they interchangeable in python?
minus-squareSivecano@lemmy.dbzer0.comlinkfedilinkarrow-up4·11 months 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·11 months 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.