this post was submitted on 12 Aug 2023
582 points (100.0% liked)
196
16501 readers
2152 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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