Mbeezer@sh.itjust.works to 196 · 1 year agoThose damn liberulessh.itjust.worksimagemessage-square33fedilinkarrow-up1627
arrow-up1627imageThose damn liberulessh.itjust.worksMbeezer@sh.itjust.works to 196 · 1 year agomessage-square33fedilink
minus-squareLuxlinkfedilinkarrow-up55·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-up22·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-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-up4·1 year agoI always use double quotes for output string, and single quotes for internal ones.
minus-squarekamenoko@sh.itjust.workslinkfedilinkarrow-up10·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?
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.