is there any reason not to do this (raw strings) for that first comment string, or any comment string, just as a matter of course everywhere including where it there is no need because there are no backslash sequences at all?
so if you need to assign a string of exactly one backslash to a variable named b, which would you use?
so if you need to assign a string of exactly one backslash to a variable named b, which would you use?
b = r'\' #1 b = '\\' #2 b = '\\'[0] #3
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.