Mbeezer@sh.itjust.works to 196 · 2 years agoThose damn liberulessh.itjust.worksimagemessage-square33fedilinkarrow-up1628
arrow-up1628imageThose damn liberulessh.itjust.worksMbeezer@sh.itjust.works to 196 · 2 years agomessage-square33fedilink
minus-squareLux (it/they)linkfedilinkarrow-up55·2 years 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-up22·2 years agoSee, this is what’s wrong with Prager U! Why would you use double quotes instead of single quotes for defining a string?
minus-squareSivecano@lemmy.dbzer0.comlinkfedilinkarrow-up4·2 years agoYes, but as someone with even a little pride and some c/c++ experience I always use double quotes
minus-squarediaphanous@feddit.delinkfedilinkarrow-up4·2 years agoI always use double quotes for output string, and single quotes for internal ones.
minus-squarekamenoko@sh.itjust.workslinkfedilinkarrow-up10·2 years 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?
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.
Should have set it to None since PraegerU doesn’t think it exists.