Mbeezer to [email protected] • 2 years agoThose damn liberulessh.itjust.worksimagemessage-square36fedilinkarrow-up1579
arrow-up1579imageThose damn liberulessh.itjust.worksMbeezer to [email protected] • 2 years agomessage-square36fedilink
minus-squareLux (it/they)linkfedilink46•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-square@[email protected]linkfedilinkEnglish19•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-square@[email protected]linkfedilink4•2 years agoYes, but as someone with even a little pride and some c/c++ experience I always use double quotes
minus-square@[email protected]linkfedilink3•2 years agoI always use double quotes for output string, and single quotes for internal ones.
minus-square@[email protected]linkfedilink9•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.