Oct-07-2021, 01:34 PM
i just discovered that when continuing an f-string, what i quoted next needs to also be an f-string if it has any formatting elements that need to be handled like they are in an f-string.
abc = 'woot' ghi = 'xyzzy' xyz = f'foobar'\ f' {abc} {ghi}' print(xyz)
Output:foobar woot xyzzy
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.