this post was submitted on 12 Aug 2023
585 points (99.5% liked)

196

16227 readers
2077 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 47 points 1 year ago (2 children)

hey i didn't know prager u did python! they're just defing a variable (RACISM) and setting the value to a string (BAD)

[–] [email protected] 18 points 1 year ago (2 children)

See, this is what's wrong with Prager U! Why would you use double quotes instead of single quotes for defining a string?

[–] [email protected] 4 points 1 year ago

I always use double quotes for output string, and single quotes for internal ones.

[–] [email protected] 3 points 1 year ago (1 children)

Aren't they interchangeable in python?

[–] [email protected] 4 points 1 year ago

Yes, but as someone with even a little pride and some c/c++ experience I always use double quotes

[–] [email protected] 9 points 1 year ago

Should have set it to None since PraegerU doesn't think it exists.