Mbeezer to 196@lemmy.blahaj.zone · 1 year agoThose damn liberulesimagemessage-square37fedilinkarrow-up1617arrow-down13
arrow-up1614arrow-down1imageThose damn liberulesMbeezer to 196@lemmy.blahaj.zone · 1 year agomessage-square37fedilink
minus-squareLux@lemmy.blahaj.zonelinkfedilinkarrow-up48·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-squarekamenokolinkfedilinkarrow-up11·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.